Forcing a comment?

Hi all.

Can anyone help at all?

I was wondering whether its possible to force a text field or something for a user to fill in…

For instance on my form…if a user decides to reject a request, i would like a field or something to appear forcing the user to state why they have rejected the request?!

Any help or tips you could provide me in how to go about doing this would be great.

Thanking you in advance

Subject: Forcing a comment?

How about inserting an “input validation” formula into the Reason Field like

@If(RejectYesNo = “Yes” & Rejectreason =“”;@Failure(“Please, give a reason for the rejection”);@Success)

?

Subject: RE: Forcing a comment?

Hi,

Thanks for your response. I was thinking about doing some sort of validation, but I would really like a field to appear when the user hits the reject button for them to type a reason for rejection…

I hope that makes sense…?

Any help would really be appreicated.

Thanks

Subject: RE: Forcing a comment?

If they are hitting a button to reject, then you have all the control. You can use an @Prompt, or create a hidden form and bring it up using @DialogBox. If you are using script, both of these functions have script alternatives.

This also gives you control to require this comment, because you can put validation on the field in formula or script that cancels if the reason is not entered.

Subject: RE: Forcing a comment?

Hi Mary Anne,

Thank you for your response - it works!