Adding decoration to form section header

marianneurnes
Mega Guru

Hi,

I'm looking for a way to add decoration or some other marking to a section header on a form.

The form has lots of field distributed in seven sections, and the idea is to let some fields be editable for certain users at a time: user 1 can edit some fields in section 1 and 2, user 2 can edit other fields in section 2 and 3 and so on. to make it easier for the user, it would be beneficial to mark the sections with the editable fields so he/she knows where to look. I've made i client script that opens the fields in question for editing and adds a decoration on the field label, but is there some ways to also mark the section header simultaniously?

Thanks

7 REPLIES 7

Chuck Tomasi
Tera Patron

Hi Marianne,



If you make any of the fields on that form section mandatory, a "*" shows up on the section tab. Other than that, I don't have any ideas how you can build something yourself to analyze potentially dynamic field content.


Yeah, I know. But the user is supposed to be able to save their work and continue later, hence the fields can not be mandatory


There is a way to save without filling in the mandatory fields. Use the action name sysverb_cancel. Attached is a simple XML file of a UI action I made a few years ago. I called it Save Draft. The intent was that you could save you work and come back to it later even if there are mandatory fields. Another UI action would advance it to another state. In that use case the state field was not directly editable and the UI actions took care of the state management. You are welcome to try it.


Hi again, I've made a similar UI action to be able to save and close the form, but it still enforces the mandatory fields. How were you able to avoid this OOTB function?