Can I change text label on submit button as a Condition?

  • Profile Image
    rtolmach
    Asked on December 30, 2017 at 10:14 PM

    Hi


    Please see our form

    https://www.jotform.com/build/73577684784174 

    The submit button says:  "Click to list your book - for free"


    We send the visitor an email with an edit link so they can click to confirm, and so they can later click another box to delete.

    That submit button message does not make sense if they are deleting. Can we use jotform's conditional logic (or some other approach, such as CSS) so that if the Page URL contains 'edit', then the submit button will just say Submit  ?

    Thanks!

  • Profile Image
    Mike_G
    Answered on December 31, 2017 at 12:31 AM

    Yes, this would be possible.

    What you need to do is add a second submit button that says "Submit" only. Where that button will be shown conditionally when the form is in edit mode and the original submit button will be hidden. You can just duplicate the original submit button in your form and change the button text after — How-to-Manage-Multiple-Fields

    After that create a condition that will hide the original submit button and show the other submit button if the Get Form Page URL widget contains edit.

    1514698184t00_29_10.png

    I see that you have used the same workaround for some of the fields in your form.

    If you need any further assistance, please feel free to contact us again anytime.