Home › Forums › Quform WordPress › Hide multiple choice option after a specific date
- This topic has 6 replies, 3 voices, and was last updated 8 years, 5 months ago by
foodstijl.
- AuthorPosts
- November 24, 2016 at 10:35 am #20407
foodstijl
ParticipantI have a multiple choice section in a form. The options are specific dates.
Is it possible to hide options (dates) after a specific date.Example:
dates:
– 23 november 2016
– 3 december 2016
– 17 december 2016Because it is now 24 november 2016 the first option should not be displayed. I have around 25 different forms with all several dates, so manually delete options is a nogo.
Or is there another option to handle these dates.
November 29, 2016 at 10:37 pm #20419support
ModeratorHi,
Sorry for the delay. I suggest you add a script to your website which hides the option comparing it to the current date. It could be applied to more than one form.
You could also use a custom validator on the form, applying it on this specific field.
Regards,
Félix
- This reply was modified 8 years, 6 months ago by
support.
December 2, 2016 at 8:03 am #20451Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
December 2, 2016 at 8:21 am #20452foodstijl
ParticipantThanks! I’ll try that!
December 8, 2016 at 12:33 pm #20479foodstijl
ParticipantHi Ally,
It doesn’t seem to work.
When I name a label ” 7 februari 2017″ I presume the code sees this as plain text instead of a date, correct?
so how/where do I specify that the labels are in fact dates?kind regards.
December 10, 2016 at 5:08 pm #20492Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
December 12, 2016 at 8:33 am #20496foodstijl
ParticipantAlly.. you are amazing! Thank you very much!
- This reply was modified 8 years, 6 months ago by
- AuthorPosts
- You must be logged in to reply to this topic.