2 Replies Latest reply on Mar 28, 2016 2:46 AM by alexi1901869

    Code to not allow two text fields to be field at the same time

    alexi1901869

      Hi Guys,

       

      I would like to ask for your help on a JavaScript code.

       

      I don't have a lot of experience with JavaScript and I'm trying to add a code for a pop-up, to alert the user that only one field needs to be filled out.

       

      In the form there are two main types of fields and the user should only fill one of them and not both of them.

       

      Is there a way to add a code to each field text to alert the user that only one text field should be filled out?