Show/hide stops at a date

  • Profile Image
    verkadesites
    Asked on August 11, 2013 at 02:14 PM

    Hello,

    First, sorry for my bad English, I hope you can understand me.

     

    I use a coupon code with the "show and hide" function on JotForm. Is it possible to add a date? 
    Example:

    I add a date like 14-08-2013, and when it is 14-08-2013, the show and hide will not work any more?

    Is that possible?

     

    Regards,

    Jorian Verkade 

  • Profile Image
    pinoytech
    Answered on August 11, 2013 at 05:28 PM

    Hi Jorian,

    Can you please take a look at this clone form if this is something you want to achieve?

    http://www.jotformpro.com/form/32227006868960

    If yes, here's how I did it:

    1. Add DateTime field on your form

    2. Duplicate "Kortingscode" field

    3. Create condition on your form something like this:

    5. If you don't like DateTime field visible, you can use custom css and inject into your form.

    Code:

    #id_9 {

    display: none;

    }

    Feel free clone the form to see what I did.

    Thank you!

  • Profile Image
    verkadesites
    Answered on August 12, 2013 at 06:07 AM

    Hello JotForm,

     

    Thank you very mutch!! :)

    It's working right now.

     

    Regards,

    Jorian

  • Profile Image
    pinoytech
    Answered on August 12, 2013 at 07:54 AM

    You are quite welcome Jorian! If you need our assistance again, please don't hesitate to contact us at anytime.

    Have a nice day!

  • Profile Image
    verkadesites
    Answered on August 12, 2013 at 08:23 AM

    Hello JotForm,

    It will not work, it is because you have understand me wrong. If you type "COUPON-JESSE-090" at the "kortingscode" field, the "Vraag een service met kroting aan!" field wil appear. Now I have set that it will not appear if the date is after 11-08-2013 (yesterday). But it still apear. What is the problem?

    Thanking you in advance,

    Jorian

  • Profile Image
    pinoytech
    Answered on August 12, 2013 at 09:26 AM

    Hi Jorian,

    On clone form, the conditions seems to be working fine. Please take a look at this video: http://screencast.com/t/l9C5J8Rd 

    Can you please share to us URL of your Form for further assistance?

    Thank you!

  • Profile Image
    verkadesites
    Answered on August 12, 2013 at 01:39 PM

    Hi JotForm,

    I see it is working at the clone form, but at my form it will not work.

    http://form.jotformeu.com/form/30933268283357?

    Maby because I have disabled the date field with CSS?

    Regards,

    Jorian

  • Profile Image
    pinoytech
    Answered on August 12, 2013 at 05:29 PM

    Hi Jorian,

    I've check your form and found out that you missed step 2 (Duplicate "Kortingscode" field) which is the reason why its not working in your form. Would you mind if I will fixed the issue of your form for you?

    Thank you!

  • Profile Image
    verkadesites
    Answered on August 13, 2013 at 05:58 AM

    Hi JotForm,

    I would apreciated that! 

    Thanking you in advance,

    Jorian

  • Profile Image
    guilledutra
    Answered on August 13, 2013 at 10:33 AM

    I modified your form as your request, could you check it?

    Thanks

  • Profile Image
    verkadesites
    Answered on August 13, 2013 at 10:49 AM

    Hi JotForm,

    It work right now. Thank you very much!!!!

     

    Regards,

    Jorian