How to copy field values to another fields?

  • TW_Consulting
    Asked on October 4, 2022 at 12:03 PM

    Dear Support Staff,

    I am trying to concatenate the value of "Block" and "Room No" into a new value with an "-" in between, however it shows error on the below formula. May I know how to fix this error.

    How to copy field values to another fields? Image 1 Screenshot 30


    Also is there any way to put the value of "Block + Room" into the spreadsheet to form

    How to copy field values to another fields? Image 2 Screenshot 41

  • Nina_J
    Replied on October 4, 2022 at 12:52 PM

    Hi there,

    Thanks for reaching out to Jotform Support. I'll need a bit of time to look into this and I'll get back to you as soon as I can.

  • Nina_J
    Replied on October 4, 2022 at 5:31 PM

    Thanks for waiting, we appreciate it. This - is causing the error as it is in number value, so it is read like a MINUS sign. It needs to be a string so it will be copied to the other fields.

    1664917901 633ca18de63d0  Screenshot 10

    However, it seems like you don't mean to copy the (-) to the next field, so you can just remove it and have a space in between. See screenshot below:

    1664918579 633ca433dc8cb  Screenshot 21

    Then you can set another condition to copy the value from Block+ Room over to the Spreadsheet to form widget. See screencast below:

    1664918910 633ca57ec7223 1004 Screenshot 32

    If this works for you, feel free to clone my form or you can take a look at it as well. Here's the link to my cloned form.

    Let us know if you have any questions.