I have a requirement to reset the form fields to empty when UI Action 'Reset to Draft'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
I have a requirement to reset the form fields to empty when UI Action 'Reset to Draft' .There is a UI Action button in the demand table that appears when the state changes to submitted or screening or qualified and for the rest of the stage when i click on reset to draft UI action all the form fields except the number has to set to empty.Please help me to achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10 hours ago
I was looking through the recommendations that you've gotten but would recommend against doing this as a UI Action. I would leave the current UI action as is and use an update business rule that looks to see if the state has changed to draft.
That being said, I do have a question for you: what is the actual business need for clear all of the fields except for number? Seems like you are going to lose a lot of information.