Request: The capability to conditionally change style of fields (with CSS) based on a selection

  • Profile Image
    antoniooi
    Asked on May 16, 2014 at 09:11 AM

    Meanwhile, I also want to have the CSS style change when the text box value is changed. For eample:

    Text box value: Active --> Green color text

    Text box value: Deactivated --> Red color text

    Text box value: Suspended --> Red color text

    Please let me know if this is possible in JotForm, thank you.

  • Profile Image
    EliezerN
    Answered on May 16, 2014 at 11:49 AM

    Hi,

    This would require to conditionally change the style of the text, which is not possible iwhith our form builder features. The only way I can think about is to create multiple Text boxes with different styles that will be shown/hidden based on a previous selection using conditional logics as you already did.

    However, I have submitted a request ticket so that our development team can consider the implementation of a function that allows to conditionally apply styles to form fields using CSS codes.

    We cannot promise antything about this implementaion, but in case there are updates on this you will be notified via this thread.

    Thanks.

  • Profile Image
    antoniooi
    Answered on May 16, 2014 at 09:16 PM

    This is why I want to put my questions under 1 thread as they're related. Multiple repeated textboxes -- I also know how to do it. What I want is conditional chage text data and color. Please see my original post of this thread.

    Anyway, thank you for submitting my request for your developer's consideration.

  • Profile Image
    antoniooi
    Answered on May 16, 2014 at 09:32 PM

    But if your developers were to consider this, you can add this idea to your existing conditional calculation feature and make its UI clearly meant to support conditional text insertion as well. After that, try to provide a textarea box that allows advance users to put in custom CSS style so that you do not have to limit this conditional styling feature with limitation such as color picker.

    Hope this make sense to your team. Thanks.

  • Profile Image
    Welvin
    Answered on May 16, 2014 at 11:54 PM

    Thank you for the additional information. Happy to say that this is already assigned to our developer. However, we are still not able to provide you a timeframe. We will update you here for any progress.

    Thanks