-
markcarlockAsked on June 21, 2016 at 11:53 AM
Is it possible to have a field hidden on a form and then have the field show up only after it's opened via the edit link?
-
Kevin Support Team LeadReplied on June 21, 2016 at 12:50 PM
Yes this is indeed possible, to achieve it you only need to add this widget to your form: https://widgets.jotform.com/widget/get_form_page_url
This guide will help you to add the widget: How-to-Add-a-Widget-to-your-Form
Then when the widget is added to your form you will need to add a condition, it should be like this:
The value that widget returns is the link to the form and when it is being edited the link is similar to this https://jotform.com/edit/formID then it will work as you need.
Do let us know if it helps.
-
markcarlockReplied on June 21, 2016 at 3:32 PM
Thanks, that kinda worked. I'm also trying to hide a submit button and show a different one when the forms opened in the edit link. That possible?
-
Kevin Support Team LeadReplied on June 21, 2016 at 5:06 PM
Glad to know it worked.
And yes, it is possible, the condition will change a bit, instead of only showing the field you will also show the desired submit button and will hide the other one, here is a screenshot of the condition to be used:
This is a sample form, when loading it before a submission:
This is when editing the submission:
Here is also the link to the form so you can test it yourself and see the result of it: https://form.jotform.com/61726389456973
The edit link will be shown in the thank you page.
Hope this helps.
-
markcarlockReplied on June 21, 2016 at 5:32 PMThanks. I'm still trying to hide/show different submit buttons but not sure I'm doing it correctly because 2 are still showing on the original form. This is on my Clone of Requisition Form i'm trying to do this on.
-
Kevin Support Team LeadReplied on June 21, 2016 at 6:49 PM
As this question is not related to the originally posted on this thread, I have moved it to another thread, it can be found on this link: https://www.jotform.com/answers/866161
We will assist you there as soon as possible.