(imported topic written by SystemAdmin)
Let’s say I have the following lines in an action script:
action parameter query “day” with description “Please enter the desired value for day. Value MUST be: ‘Monday’, ‘Wednesday’, or ‘Friday’.” and with default value “Monday”
continue if {(it is “Monday” or it is “Wednesday” or it is “Friday”) of (parameter “day” of action)}
I want to be able to verify that the action parameter value is valid. Is there any way to return an error message before the action is sent to the client? A drop down would be ideal, but the workaround here http://forum.bigfix.com/viewtopic.php?id=825 is a little too out there for my comfort.