How to Copy Email Address From One Field to Another?

  • Profile Image
    formscamp
    Asked on November 19, 2018 at 04:30 PM

    Hello,

      I am creating a form in which I'm collecting information about family members in a household.  For the first person, I ask for the email information. I configure the question with a Confirmation Text Box, to reduce the likelihood  of a typo.

      For the second person, I also ask for an email address.  However, I include a checkbox that asks whether the email address for the second person is the same as the first.  If they checkbox is selected, the email field is auto populated by copying the value from the first email address field.

      The issue is that I want to include a Confirmation Text Box in the second email request in case the user chooses to type it in.  However, when I copy the value from email address 1 to email address 2, it only populates the email field and not the Confirmation Text Box.  Hence, even when the user selects that the email is the same, they are still forced to type in the confirmation. 

    Is there a way so that when the field is copied, it copies to both the email and confirmation fields?   Thank you for your help.


    Francisco

  • Profile Image
    Edgar_B
    Answered on November 19, 2018 at 08:55 PM

    Thank you for contacting us.

    Since you were dealing with the Confirmation Text Box not getting or copying the respective values using conditional logic, I want to remind you that these text boxes' main function is only to verify the entry in the main email address field by means of typing in only. This is the main reason even you included conditionals, it wouldn't copy or pass the confirmation box value to another field. In short, there is no such function to pass the value of certain confirmation text box like in email fields, you included these kind of boxes for verification purpose wherein copying and pasting the value is not allowed.

    If you would like to pass the values of confirmation text boxes, I would suggest you to use regular text boxes instead and include conditionals like what your form had.

    How to Pass Field Value to Another Field

    If you need further assistance, please let us know, we'll be glad to help. Thank you!