I am using a trigger that takes input from a user via a valuelist. The valuelist is a locations list. The trigger looks at the selected location and then looks at a status in a corresponding table to determine if it is disabled. If it is disabled it returns an application error. I would rather use vbscripting to have a dialog box with the following vbscript.
<script type="text/vbscript">
alert("This location is disabled. Please select another location."
</script>
My questions is..if I put this in the if statement will this script work? Remember that I don't want the selected value that is disabled to be entered into the field.
Thanks, John
<script type="text/vbscript">
alert("This location is disabled. Please select another location."
</script>
My questions is..if I put this in the if statement will this script work? Remember that I don't want the selected value that is disabled to be entered into the field.
Thanks, John