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

    Can't Align Short Answer Fields like Address Field

    Asked by euney.kim on May 12, 2017 at 06:54 PM

     

    How do I align the short answer boxes just like the address boxes?

     

    I had to switch because the users want the notification email to have just the street address in the subject line, but the option to add this in the notifier sees the entire address section as 1 item.

  • Profile Image
    JotForm Support

    Answered by Kevin_G on May 12, 2017 at 11:33 PM

    It is possible to display short answer fields like the address field, but it would be a bit tricky since it would require to inject CSS code to your form and you should also control how fields are displayed in mobile devices. 

    However, it's still possible to get only the information submitted in one sub-field in the address field. To capture the info you only need to add the field's name followed by the sub-fields name, here is the list of sub-fields the address has: 

    {address:addr_line1}

    {address:addr_line2}

    {address:city}

    {address:state}

    {address:postal}

    {address:country}

    "{address:addr_line1}" will get the street address value, this can be used wherever you want.

    The only thing that may change is the "address" name, but you can find it by following this guide: How-to-find-field-IDs-and-names

    Hope this helps. 

  • Profile Image

    Answered by euney.kim on May 14, 2017 at 05:22 PM

    Thank you so much! That works so much better with "{address:addr_line1}"