I want to highlight the text box after its filled Automatically? is it possible?

  • Mandarpatil001
    Asked on July 22, 2014 at 9:21 AM

    Ok Found it i want to highlight the text box after its filled Automatically?

    is it possible?

  • Carina
    Replied on July 22, 2014 at 10:48 AM

    Yes it is possible with a workaround.

    First I have set the read-only text box to "hidden" and added 2 form calculation widgets (one to be shown when the text box is filled, and the other one to be shown when the text-box is empty):

    I want to highlight the text box after its filled Automatically?
is it possible? Image-1

    Then I linked each form calculation with the read-only text box:

    I want to highlight the text box after its filled Automatically?
is it possible? Image-2

    I set up a condition that if "text box" is filled then show "filled form calculation". Another condition that if "text box is empty" show "empty form calculation":

    I want to highlight the text box after its filled Automatically?
is it possible? Image-3

    Finally I injected the following css code:

    #input_6

    {background: red;}

     

    You can try and clone the test form:

    http://form.jotformpro.com/form/42023797027959?

    Let us know if further support is needed.

    Thank you

  • Carina
    Replied on July 22, 2014 at 10:50 AM

    By the way you can change the "red" value in the css code for a hexadecimal code of your preference. You can see more details here.

     

    #input_6

    {background: #3b6ccd;}

     

    Thank you