What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can we Control a date input if theres a cut off time?

    Asked by newtexforms on December 03, 2013 at 08:08 AM

    Hi,

     

    We have created a leavers form as per the link and we have a problem within the organization where the managers put through late leavers form when employees leave. This is the case 5 out of 10. 

    How can we restrict the leaving date input if its more than 14 days from todays date? What we need is this -:

    Suppose the manager puts through a new form and puts the leaving date as 15/11/2013, which is 14 days more than from today - we would like the manager to see a new message '' You need to get the Auth code to put through the leavers form as its more than 14 days from today''. Then the manager will have to contact us and we then provide the Auth code. Also the condition is to be slighlty changed if the manager put throughs a form with notice period of 1 week/ 2 weeks/3 weeks/ 4 weeks. Then the notice time the manager selected should be deducted from the leaving date. 

    So once they get the auth code, they can put any leaving date and submit the form.

    How can this be done? Please help. Thanks for Reading

     

    Kind Regards 

    Page URL:
    http://form.jotform.co/form/33314582026852

    Screenshot
    new form problem message selected
  • Profile Image

    Answered by Cesar on December 03, 2013 at 02:28 PM

    You have to change the date to be after the 15 days. Kindly check the Example form I have modified.

    https://cms.jotform.com/uploads/image_upload/image_upload/global/21733_conyou.png

    Do let us know if you need further support. Thank you.

     

    This is my Example Form:

    http://form.jotformpro.com/form/33365150408954?

     

    Related Articles:

    How-to-clone-an-existing-form-from-a-URL

  • Profile Image
    JotForm Support

    Answered by Mike_T on December 03, 2013 at 02:30 PM

    Thank you for contacting us.

    Let me please inform you that we can use conditional logic on forms for this task.

    It is possible to use conditions based on dates like 'today +1' or 'today -14', please see the following thread:

    Using DateTime field with Conditional Logic based on current date

    Qucik example:

    Form:

    http://form.jotform.co/form/33365247492863

    Can you please try mentioned solution on your form? if you need any further assistance, please let us know.

  • Profile Image

    Answered by newtexforms on December 04, 2013 at 05:29 AM

    Hi Jotform Support,

    I HAVE SLIGHLTY CHANGED THE CLONE TO TODAY-14. THANKS EVER SO MUCH.

     

    COULD YOU ADVISE HOW WE COULD ADD AUTH CODE ACTIVATION? NOW THAT THE FORM DOESNT ALLOW MANAGERS TO PROCEED AS THE LEAVING DATE IS BEYOND 14 DAYS? SO FOR EG , IF WE PUT DOWN 19/11/2013, THE FORMS SHOW A MESSAGE ''You need to get the Auth code to put through the leavers form as its more than 14 days from today.'' AND THE SUBMIT TAB GOES INVISIBLE. BUT HOW CAN WE MAKE IT LIVE WITH AUTH CODE, SO THAT THE MANAGER CAN GET ON WITH SUBMISSION USING THE SAME DATE?? SO THE SCENARIO WOULD BE-:

     

    MANAGER PUTS THROUGH A FORM WITH LEAVING DATE 19/11/2013, THEY SEE THE MESSAGE, THEY CONTACT US, WE GIVE THEM THE AUTH CODE, THE FORM GOES LIVE AGAIN AND THEY CAN SUBMIT USING SAME DATE 19/11/2013?

     

    KINDLY HELP 

     

    KIND REGARDS

  • Profile Image

    Answered by newtexforms on December 04, 2013 at 05:35 AM

    HI JOTFORM SUPPORT,

     

    BELOW IS THE LINK TO THE CLONE FORM

     

    http://form.jotformpro.com/form/33372121721948

     

    KIND REGARDS 

  • Profile Image
    JotForm Founder

    Answered by aytekin on December 04, 2013 at 09:37 AM

    Create another action using the Add New Action button. 

    Here is what it looks like:

  • Profile Image

    Answered by newtexforms on December 04, 2013 at 10:46 AM

    Hi JotForm Founder,

     

    Thanks for the response. As you can see with these restrictions the managers wont be able to submit the form coz the submit tab is invisible. But is there a way to liven up the form the moment managers enter an authorization code? For eg, when the forms cant be submitted due to the restrictions of 15 days delay, managers will need to be in touch with us and we then provide them with an auth code which would then enable them to go a head submit the forms with these dates?

     

    Below is our link 

    http://form.jotformpro.com/form/33372121721948

     

    on the above link, if you put down leaving date 19/11/2013, the manager can no longer submit the form. so they must contact us and if we could provide them with an auth code and then it would activate the submit form again. 

     

    we could then use the autho code to deduct monthly bonuses from managers as its a delay from their side. 

     

    Is there a way we could create auth code and activate like that?

     

    Kind Regards 

  • Profile Image
    JotForm Founder

    Answered by aytekin on December 04, 2013 at 11:58 AM

    Unfortunately no, that's currently not possible with conditions.

     

  • Profile Image

    Answered by newtexforms on December 04, 2013 at 12:39 PM

    Hi Jotform Founder,

     

    Thanks for the response. Is there any other alternative? 

     

    Kind Regards 

  • Profile Image

    Answered by newtexforms on December 04, 2013 at 12:46 PM

    HI JOTFORM FOUNDER,

     

    IF NOT AUTHOCODE, EVEN IF ITS A PASSWORD WOULD DO. THEN WE CAN SIMPLY CHANGE THE PASSWORD EACH TIME WE GIVE THEM THE PASSWORD?

     

    THANKS

     

    KIND REGARDS 

  • Profile Image
    JotForm Support

    Answered by Mike_T on December 04, 2013 at 02:42 PM

    As a workaround, you can add an additional Submit button field to the form.

    Then, show that field if the entered Auth Code is equal to your unique password.

    You can update the form at any time to change that 'password'. The downside of this method is that the 'password' is actually stored in the form source code. It means, that tech savvy users might be able to find it in the page source.

    The following conditions are not visible on the form source, but they are being triggered on submissions, so this can be some other kind of solution.

    Thank you.