Hide multiple choice option after a specific date

Home Forums Quform WordPress Hide multiple choice option after a specific date

This topic is: resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #20407
    foodstijl
    Participant

    I 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 2016

    Because 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.

    #20419
    support
    Moderator

    Hi,

    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.
    #20451
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #20452
    foodstijl
    Participant

    Thanks! I’ll try that!

    #20479
    foodstijl
    Participant

    Hi 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.

    #20492
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #20496
    foodstijl
    Participant

    Ally.. you are amazing! Thank you very much!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy