JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
U.S. State Picker Widget - Align with Address FieldAsked by dlasson on September 16, 2015 at 03:06 PM
Is there any way to move/align the "State" widget field next to the "City" field?
Also, can I insert a subtext to the "State" field that is the same font as the subtexts in the other address fields?
Yes, that is possible with custom CSS codes. Here's a cloned version of your form showing the changes:
I did the following tricks to accomplish what you want:
a. Inject the following custom CSS codes to the form to move up/left the widget:
Here's how to access the codes: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes.
b. Enable the State field in the address field. This is to utilize the sub-label - for it to appear below the widget.
c. Hide the label in the widget:
You can simply clone my form back: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL.
Thanks. I cannot seem to do the same (align) with the following fields (in the "Employment History" section). I only need city and state fields here.
I've fixed it for you. You just need to shrink both city and the widget then move the widget down so it will be placed after the city box.