Is that possible to style selected Inventory widget fields?

  • Profile Image
    cestasdecafeonline
    Asked on July 11, 2016 at 03:11 PM

    Would it be possible to apply ccs "checked" on this form, so the collor change after click?

    https://form.jotform.com/43488308084966

     

  • Profile Image
    Mike
    Answered on July 11, 2016 at 04:53 PM

    Unfortunately, we cannot select with CSS checked Inventory widget field.

    However, selected field involved in calculations receive a calculatedOperand class, so it can be used to style them.

    I have added the next CSS to your form in order to illustrate this.

    .calculatedOperand {
    background-color : #82b707;
    }

    Result:

    The downside is that the calculatedOperand class is not remove once the value of the Inventory widget is changed back to 0.

    If you need any further assistance, please let us know.

  • Profile Image
    cestasdecafeonline
    Answered on July 11, 2016 at 05:03 PM

    Agradeço a ajuda.... muito obrigado ! é exatamente isso que eu precisava !