Reply To: Conditional logic in combination with date value

Home Forums Quform WordPress Conditional logic in combination with date value Reply To: Conditional logic in combination with date value

#33816
klurth
Participant

Hi Ally,

yes, it is a date field. I’m using conditional logic in combination with the date field and the javascript calculations above. To be more specific: If the days between field 1_3 and the hidden field 1_4 are less then 28 field 1_9 ($datePlus28) should be displayed. In this case it is not necessary to submit the form.

But the field 1_9 is not displayed if the the date format in field 1_3 is dd.mm.yy and not dd.mm.yyyyy.

So my first Idea was to check if the date format is valid and notificate the user.

Alternatively I wondered to switch off the input option and only use the date picker. That would be fine for me as well. While using the date picker it works as expected.

Regards,
Thomas

Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy