Remove last name field?

  • Profile Image
    WisdomOnTap
    Asked on June 05, 2017 at 10:22 AM

    ive been scouring the forum, and I see its been answered with a css tweak, but I just cant make it work so far :-/

     

    I want to ask for just the users first name, then have it tieback to the GetResponse email integration (as well as some of the other field answer text)

    Thanks

     

  • Profile Image
    John_Benson
    Answered on June 05, 2017 at 12:29 PM

    We can provide you a custom CSS code to remove the Last Name field of the Name field but we need the Name field to be added to your form so we can check it further. 

    I cloned your form and I have added a Name field. After that, I added a custom CSS code to remove the Last Name field. Keep in mind that it might be a different code for your form so we need you to add the Name field and get back to us so we can help you further. 

    input#last_41 { 

        display: none !important; 

    label#sublabel_last { 

        display: none !important; 

    Here's the guide on: How-to-Inject-Custom-CSS-Codes

    Result: 

    I noticed that you used the Short Text field for the First Name, that is the best way you can use than hiding the Last Name field. 

    To check the custom CSS code and configuration, you can clone this form link: https://form.jotformpro.com/71554824177967. Here's a guide on: How-to-Clone-an-Existing-Form-from-a-URL

    If you have questions, please contact us again. Thank you.

  • Profile Image
    WisdomOnTap
    Answered on June 05, 2017 at 01:43 PM
    Halfway there :-)
    I got it removed, but the validation is looking for the last name still
    Sent with Mailtrack

    ...
  • Profile Image
    John_Benson
    Answered on June 05, 2017 at 03:14 PM

    Hello again,

    I did a test submission to your form and I didn't encounter any issue. It is working fine on my end. If by any chance, are you referring to the Required feature? See image below:

    Is that the validation you were referring? If not, could you please provide more details so we can further understand what you're trying to achieve. 

    We'll wait for your response. Thank you for your cooperation.

  • Profile Image
    WisdomOnTap
    Answered on June 05, 2017 at 11:46 PM

    Yes. With the email field, I did remove the last name and with the field "required" it gave the error ehrn I put no last name in. (I had switched it to not required, but I do need it required to go live with it)

     

  • Profile Image
    John_Benson
    Answered on June 06, 2017 at 01:37 AM

    Unfortunately, that is not possible if you enable the Required feature. However, you can still use the Short Text field with the Required feature enabled and named it "First Name" again instead of using the Full Name field.

    Thank you for your understanding. If you have questions, please contact us again.