JotForm User Guide / Advanced Features /

How to Show or Hide Fields on Edit URL

How to Show or Hide Fields on Edit URL

Edit URL is basically used for updating specific submissions data without logging into JotForm account.

There are some cases that you'd want to show or hide fields on edit URL mostly for administrative purposes like the following.

- Add a status on the user's submissions

- Add additional details

- Update admin only fields

- Hide fields that you do not wish to be updated by the users

Here's how to do that:

1. Add the Get Form Page URL Widget to your form.

2. Create a SHOW / HIDE FIELD Condition.

If the Get Form Page URL Widget contains the word "edit", show or hide the fields that you want.

Demo:

Form URL: https://www.jotform.com/62321689030956 (Status field is hidden)

Edit URL: https://www.jotform.com/edit/4021534325216346457 (Status field is shown)

If you have questions, feel free to post comments below.

Send Comment

3 Comments...

  • russellatwork

    This doesn't seem to work - When editing the form the URL is no different.
    In Edit mode the form is in a frame with URL something like
    https://www.jotform.com/form.php?mode=inlineEdit&formID=...&sid=...
    The URL of the Form is same for edit as for filling it in

  • Hills_test

    stupid question: but where do i get the edit url from?
    thanks for your patience!

  • mirkolambertimigastone

    Hi,
    I tested this procedure but when I update a record with fields hidden, the same are updated in blank.

    I've updated a record and some fields are hidden with this condition. The result was the visible fields updated correctly, the hidden fields blank!!!

    How I can correct it?
    Many Thanks