Is it possible to set a field value on a button click?

  • konicki
    Asked on October 25, 2017 at 1:19 PM

    Is it possible to set a field value when the Submit button is clicked?  If so, can you direct me to some documentation?  Also, I would like to use that value when a subsequent user opens the form to make many fields read-only.  Is that possible?  Again, is there documentation available for this?

  • David JotForm Support Manager
    Replied on October 25, 2017 at 2:12 PM

    No, however, you can populate a field based on another answer by using condition logics: https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic 

    You can set a field to read-only through their properties, but if you are looking to do it based on conditions, here is how: https://www.jotform.com/help/371-How-to-Enable-Disable-Fields-Using-Conditional-Logic