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

    Full Name Field: Replace sublabels with placeholders

    Asked by MartinBoyle on October 25, 2014 at 08:02 AM
    2. The "First & Last Name" field, for your information, is from Jotforms Quick Tools selection. Is it possible to a) Make both of these boxes the same width? b) Put them on the same alignment as the textboxes throughout the rest of the form, and c) remove the "first name" and "last name" text below the boxes, instead moving it to inside the textboxes themselves?
    remove sub-labels sub-label full name field field width placeholders hint example
  • Profile Image
    JotForm Support

    Answered by Jan on October 25, 2014 at 04:17 PM

    Hi Martin,

    You can achieve that by injecting this custom css code.

    /* Same width for the first and last name field */

    #first_23, #last_23 { width: 124px; }

    /* Removing the first and last name sub-label */

    #sublabel_first, #sublabel_last { display: none; }

    Unfortunately, placeholders work by using the Hint Example. Since you used the quick tools, there is no options to put Hint Example on it. You cannot put placeholder text just by through css codes only. If you want to put the text inside the box, you will use the regular form tools and not the one from quick tools. After that you can just use the Hint Example and that will serve as the placeholder.

     

    Hope this helps. Thank you.

  • Profile Image

    Answered by visuin on January 21, 2015 at 10:59 AM

    Hi. Thanks for the code. 

    Is there also posibility to change the words "first name" and "last name" for exmaple to another language or write any other words instead of them? 

     

  • Profile Image
    JotForm Support

    Answered by Jan on January 21, 2015 at 11:18 AM

    Hello,

    This thread is already closed. I have moved your inquiry to another thread so we can assist you properly.

    This is the link: http://www.jotform.com/answers/500368

    Thank you for understanding.

  • Profile Image

    Answered by visuin on January 21, 2015 at 11:24 AM

    Ok. no problem. I thought that is the same topic. 

  • Profile Image
    JotForm Support

    Answered by Jan on January 21, 2015 at 11:37 AM

    No worries. Let us know if you need any help by opening another thread. Thanks!