Hide a field on my form

  • Profile Image
    thespanishfactory
    Asked on November 20, 2013 at 12:26 AM

    I need to hide part of a field in this form http://form.jotformpro.com/form/33225928794970

    There is any easy way to do it? What code i need to insert?

    Thanks 

  • Profile Image
    ashwin_d
    Answered on November 20, 2013 at 03:03 AM

    Hello thespanishfactory,

    Thank you fro contacting JotForm support.

    Do you want to completely hide the text  of your payment question " Personal Tuition 2-2-1 at Home £Free GBP" and the radio button as well? It is possible to do by injecting custom css in your form.

    Please inject the following custom css:

    #input_7_1001, label {visibility:hidden !important;}

    Here is a guide which should help you inject the custom css in your form:  http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image
    thespanishfactory
    Answered on November 20, 2013 at 07:05 AM

    Yes, that worked. But inserting that code, the sublevel it is also removed. How can make the sublabel apear? "Select Package"

  • Profile Image
    ashwin_d
    Answered on November 20, 2013 at 08:00 AM

    Hello thespanishfactory,

    Sorry about that. Please inject the following custom css in your form:

    .form-product-item #input_7_1001 {visibility: hidden;} 

    .form-product-item label[for|="input_7_1001"] {visibility: hidden;} 

     

    This will only hide the radio button and the associated label but will retain the sublabel text. Here is a guide which should help you inject the custom css in your form: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

     

    Hope this helps.

    Do get back to us if you have any question.

    Thank you!

  • Profile Image
    thespanishfactory
    Answered on November 20, 2013 at 09:00 AM

    Perfect! Thank you so much :))

  • Profile Image
    guilledutra
    Answered on November 20, 2013 at 09:11 AM

    Hi,

    In behalf of my co-worker ashwin_d you are welcome.

    Thank you for using JotForm