Hi all
It will be possible validate a custom field that is showed in a screen ?
For example:
When the developer finish the implementation he click in the button implement and is showed the screen with this custom field.
This custom filed can have value 'Yes' or 'No'
I would like that if the developer fill the custom field with the value 'No' , was showed a message to him informing that this value cannot be accept for this transition. It will be possible
Thanks in Advance
Best Regards
Fabio
You can do it with javascript (although if the user is determined, that's quite easy to bypass)
The "correct" way to do it would be to write workflow validator that will perform the check and return a "you can't do this because" message to the user.
However, I'd actually question what you've presented - if the user always has to put in a "yes", then why do you bother offering it to them? The don't need to fill it in at all, because to pass the transition, they always have to say "yes". So you might aw well leave it off and assume a "yes" from the status, or use a post-function to flip it into a "yes" when the user performs the transtion. I'm guessing your business logic is a little more complex than this though?
Hi Nic ,
You are right. I did this that you said . In the transition I put a post function that set the custom field Implemented to Yes , and it worked .
Thanks a lot
Best Regards
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.