Disable all fields except the shipping address field on edit mode.

  • prowrestlingtees
    Asked on May 16, 2016 at 11:16 PM

    Mike how can I accomplish this on my form.  I only want customers to edit shipping information

     

    https://form.jotform.com/61175259404152

  • David JotForm Support Manager
    Replied on May 16, 2016 at 11:45 PM

    You basically have to follow the same steps my colleague provided in the other thread:

    1) Add the 3 fields: 

    Disable all fields except the shipping address field on edit mode Screenshot 50

    2) Create the condition to obtain the URL value, and pass it to the text box field labeled "Current URL": 

    Disable all fields except the shipping address field on edit mode Screenshot 61

    3) Disable all the fields if the URL starts with "https://www.jotform.com/edit/" except the one you want to keep available:

    Disable all fields except the shipping address field on edit mode Screenshot 72

    4) Add the edit link to your email notification or autoresponder:

    Disable all fields except the shipping address field on edit mode Screenshot 83

    5) Finally hide the recently added fields used for Mike_G's workaround, by injecting custom CSS code: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    #id_24,#id_25{

    display: none !important;

    }

    Here is my version of your form: https://form.jotform.co/61369355663868 

    Here in the edit mode: https://www.jotform.com/edit/339265572499132625 

    You can clone it and use it if you want to: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

     

    Let us know if you need more help, we will be glad to assist you.

  • Michael
    Replied on May 17, 2016 at 2:52 PM

    This helped out amazingly! Thank you so much. One last question. On the edit page. Is there anyway to just hide the other sections that arent editable?

    And also is there anyway to replace the submit button we currently have. We don't want people thinking that they are subscribing/paying again

     

    Thanks

  • BJoanna
    Replied on May 17, 2016 at 4:40 PM

    Instead of Enable/Require field conditional logic you can use hide/show field conditional logic and set your condition to hide all other fields except shipping field if Current  URL field starts with https://www.jotform.com/edit/.

    However you need to have submit button on your form, so that your users can resubmit it with changed data. What you can to is to add one additional submit button to your form and set condition that subscribe now button is shown and other submit button is hidden if Current  URL field dose not starts with https://www.jotform.com/edit/. Ant set other condition to hide subscribe now button and show other submit button if Current  URL field starts with https://www.jotform.com/edit/

    Hope this will help. Let us know if you need further assistance. 

  • Chriistian Jotform Support
    Replied on May 17, 2016 at 11:55 PM

    I checked the conditions on your form and it appears that you were able to add the Size of Shirt fields in the condition to hide them. In that concern, the issue seems to be resolved.

    Disable all fields except the shipping address field on edit mode Screenshot 20

    As for the blank fields when submitting the form, to better assist you with your other issue, I have moved your question to a new thread. You can check that thread by following this link: https://www.jotform.com/answers/841421 

    Regards.

  • prowrestlingtees
    Replied on May 18, 2016 at 10:58 AM

    Hide Size of Shirt was working and now it's showing again

  • BJoanna
    Replied on May 18, 2016 at 12:48 PM

    I think that "Size of Shirt" field is shown on edited submission, because of the conditions you have set inside of your form.

    Disable all fields except the shipping address field on edit mode Screenshot 30

    I would suggest you to add one more if rule to each of those conditions (IF Current  URL field dose not starts with https://www.jotform.com/edit/). Also select option if all rules are matched. 

    Disable all fields except the shipping address field on edit mode Screenshot 41

    This way "Size of Shirt" filed will not be shown when submission is edited by your users with edit link.

    Hope this will help. Let us know if you need further assistance.

  • prowrestlingtees
    Replied on May 18, 2016 at 1:00 PM

    Got it. That did it. One last thing I noticed on the edit form. When editing, the sign up date field changes to the current date
  • David JotForm Support Manager
    Replied on May 18, 2016 at 2:28 PM

    Your new question will be addressed on the following thread: https://www.jotform.com/answers/841927 

  • prowrestlingtees
    Replied on May 19, 2016 at 3:03 PM

    I had to change the payment method since PayPal cancels unverified users right away. I am now having an issue hiding the credit card field on edit pages. Please take a look

     

     

    http://www.prowrestlingtees.com/tag-team

  • Ben
    Replied on May 19, 2016 at 3:46 PM

    Could you please confirm to us that you have applied the same steps as mentioned previously above  and that after changing the payment tool the fields are again shown when in the editing mode?

  • prowrestlingtees
    Replied on May 19, 2016 at 3:56 PM

    It looks it fixed itself somehow. 

     

    The problem im having now is with the first and last name fields on desktop and mobile

    Shipping address on mobile

    And I'd like to get the credit card section to line up with the rest of the fields

     

    That should be it and i'll be set

  • Ben
    Replied on May 19, 2016 at 4:18 PM

    OK, thank you for the update.

    In regards to the other issue, or issues, I have moved them to a new thread here:

    https://www.jotform.com/answers/842931

    I will follow up on that thread shortly.

    Please do note however that it is always best to open a new thread for each new issue or question instead of posting them on the previous thread. That gives us a better overview of the issue and helps us help you with all of them properly.