Field Level Style donot work in form.

User145619
Giga Expert

1) The width property for field style is not working.

2) The Java Script Expression doesn't work. Example below, it should show colour/width when the state is not Processed. But none seems to happen.

find_real_file.png

1 ACCEPTED SOLUTION

Thank you. The second one is still valid. We do honor the javascript: notation in the value field. I use it all the time. The first one is questionable. I've asked our doc team and UX team to verify my understanding on the deprecation of the width attribute.



I'll keep you updated. Thanks.


View solution in original post

9 REPLIES 9

Can you point me to the documentation that mentions this? I can work with the documentation team to make corrections if needed.


User145619
Giga Expert

Thank you. The second one is still valid. We do honor the javascript: notation in the value field. I use it all the time. The first one is questionable. I've asked our doc team and UX team to verify my understanding on the deprecation of the width attribute.



I'll keep you updated. Thanks.


Thanks , The JavaScript looks to work for the list, but not for the form. It's kind of using below logic.


                                                                                                                                                                                                                                  If (value is something)


                                                                                                                                                                                                                                                          apply style to List.


                                                                                                                                                                                                                                    else if (value is empty)


                                                                                                                                                                                                                                                          apply style to form.


Correct. Field styles apply to the list. To change the form requires a client script and DOM manipulation (not recommended.)