Is that possible to style selected Inventory widget fields?

  • cestasdecafeonline
    Asked on July 11, 2016 at 3:11 PM

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

    https://form.jotform.com/43488308084966

     

  • Mike
    Replied on July 11, 2016 at 4: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;
    }

    Is that possible to style selected Inventory widget fields? Image 1 Screenshot 30

    Result:

    Is that possible to style selected Inventory widget fields? Image 2 Screenshot 41

    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.

  • cestasdecafeonline
    Replied on July 11, 2016 at 5:03 PM

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