-
meekahspeedAsked on September 18, 2024 at 2:49 PM
Hello! I need guidance on how to hide certain fields in the edit link of a form.
I have a form that has already been filled out by clients, and now I need to add a new field. My intention is to send them the edit link so they can fill in just this new field without altering the information already submitted. To ensure they don't modify existing fields, I'd like to hide them.
I considered using conditions, but I'm not sure how to configure them in a way that this new rule doesn't interfere with future submissions. Additionally, I don't want to create a new form based on the data already filled in, as that would result in the loss of attached files. It's also important that all information remains centralized in a single table.
Therefore, I need help configuring these hiding conditions so that they don't affect future submissions.
Thanks!
-
Deanne JotForm SupportReplied on September 18, 2024 at 3:51 PM
Hi meekahspeed,
Thanks for reaching out to Jotform Support. If you want to let the form fillers only edit the newly added fields, you can use the Get Form Page URL widget to check if they are accessing the form via the edit link. If they are, you can then use conditions to only show the newly added fields. Here's how to do it:
Let's add the Get Form Page URL widget to your form:
- On the left side of the page, click on Add Element+.
- Under the Widgets tab, click on Get Form Page URL to add it to your form.
Now let's add a new Autoresponder Email with an edit link:
- In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
- On the left panel, click on Emails.
- Click on +Add Email and select Autoresponder Email.
- Update the Email Subject if you want.
- Add in a new row and on the upper right, click on +Form Fields.
- Select Edit Link and it will then be added to the email template.
- Click on Save when you're done.
Next is adding in the condition:
- In the same window, on the left panel, click on Conditions.
- Click on +Add Condition and select Show/Hide Field.
- Follow the condition shown below and click on Save when done.
Below is a screenshot of the condition. It's basically saying to hide the old fields if the form is accessed through the edit link.
Lastly, is to add a Send Email button in Tables:
- Go to Tables page.
- In the last column, click on +Add.
- Under the Buttons tab, click on Send Email.
- Enter a column name and select the Autoresponder Email we just created.
- Click on Create Column and you can then send the email with the edit link in Tables.
After clicking on the Send Email button, it will send out to the recipient an email with the edit link. When they click on the Edit Link, they will then be redirected to the form where the old fields are hidden.
Give it a try and let us know if you need any help.