- newtexformsAsked on December 03, 2013 at 08:08 AM
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
- CesarAnswered on December 03, 2013 at 02:28 PM
- JotForm SupportMike_TAnswered 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:
Can you please try mentioned solution on your form? if you need any further assistance, please let us know.
- newtexformsAnswered 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?
- newtexformsAnswered on December 04, 2013 at 05:35 AM
HI JOTFORM SUPPORT,
BELOW IS THE LINK TO THE CLONE FORM
- JotForm FounderaytekinAnswered on December 04, 2013 at 09:37 AM
Create another action using the Add New Action button.
Here is what it looks like:
- newtexformsAnswered 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
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?
- JotForm FounderaytekinAnswered on December 04, 2013 at 11:58 AM
Unfortunately no, that's currently not possible with conditions.
- newtexformsAnswered on December 04, 2013 at 12:39 PM
Hi Jotform Founder,
Thanks for the response. Is there any other alternative?
- newtexformsAnswered 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?
- JotForm SupportMike_TAnswered 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.