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

  • Profile Image
    Mandarpatil001
    Asked on July 22, 2014 at 09:21 AM

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

    is it possible?

  • Profile Image
    Carina
    Answered 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):

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

    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":

    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

  • Profile Image
    Carina
    Answered 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