How to Empty the email field then the URL contains edit?

  • Aline_Andrade
    Asked on June 18, 2024 at 10:01 PM

    Hi team,

    Is there a way of empty a field in the edit link?

    I have the widget "Get from page URL" and I would like to empty the email field if the link is EDIT.

    Not sure how to do that.

    Appreciate the help!

  • Sonnyfer JotForm Support
    Replied on June 18, 2024 at 11:29 PM

    Hi Aline,

    Thanks for reaching out to JotForm Support. I understand what you're trying to do, but I'll need a bit of time to look into this. I will be back shortly.

    Thanks for your patience, we appreciate it.


  • Aries JotForm Support
    Replied on June 18, 2024 at 11:31 PM

    Hi Aline,

    Thank you for reaching out to Jotform Support. Based on my understanding, you would like to make the form fields empty if the link contains edit. This can be achieved by creating a condition for the Get Form Page URL widget together with the target field. Here's how you do it:

    1. In Form Builder, click on Settings.

    2. Then click on Conditions on the left side panel.

    3. Click on Add Conditions.

    How to Empty the email field then the URL contains edit? Image 1 Screenshot 50

    4. Then choose Update/Calculate Field.

    How to Empty the email field then the URL contains edit? Image 2 Screenshot 61

    5. Follow the condition set up below:

    How to Empty the email field then the URL contains edit? Image 3 Screenshot 72

    Here's the result after creating the conditions.

    How to Empty the email field then the URL contains edit? Image 4 Screenshot 83

    You can also test and check out my demo form here. Here's a guide on how to clone a form via URL.

    Give it a try and let us know if you have any other questions.

  • Aline_Andrade
    Replied on June 18, 2024 at 11:34 PM

    Thanks!!!!

 
Your Answer