What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Combining two text fields with a space not working

    Asked by GICS on February 11, 2016 at 03:28 AM

    Hi there,

     

    I have a conditional that is If Age is greater than 15 AND if a rules and conditions widget is filled, then put First name and Last name into text box id347.

     

    I have altered the field type to alpha in the conditional...

     

    What I get is First name (space) 0

    If I use the back button on that form and then the next button to go back, the field calculates correctly.

    What have I done wrong?

    cheers,
    Peter

    Page URL:
    https://form.jotform.co/60405630588860

    combining a name back button next first name
  • Profile Image
    JotForm Support

    Answered by Charlie on February 11, 2016 at 09:08 AM

    I see you have 2 conditional logic associated with the textbox id347. 

     

    If you check the first condition in my sceenshot, it says that if the "Terms & Conditions Widget" is FILLED then insert the first name and last name on the text box field. When you open that condition, you'll see that last name is set to "0-9" which gives you the value of "0".

     

    Now, the 2nd condition is being ignored. Why? Because condition #1 is already met. Here's my cloned form: https://form.jotform.com/60414106115945. You can see how it works. You might also need to disable the other condition or be much more strict on the rules to avoid conflicts. Do you wish to only allow users that are aged 15 and up to fill out the last text box? If you do, then you need to disable the first condition.

    Let us know if that helps.

  • Profile Image

    Answered by GICS on February 11, 2016 at 12:46 PM
    Oh dear, I make the silliest errors.
    There have been many iterations of this form and it looks like I repeat
    repeat myself at times!
    Many thanks for your help.
    Peter.
    ...