Harsha - Wednesday, September 12, 2012 6:33 AM:
I have created a form with some dropdown and 'Item' fields.
I should generate an alert message based on dropdown and 'Item' field selection. For this I should compare the selected values of dropdown with 'Item'.
1)How to get 'Item' properties to compare with dropdown field value?.
2)I want to generate an alert message based on some conditions. How to generate alert message?
Please help me.
Brian - Thursday, September 20, 2012 8:24 AM:
Say you create a method on a field event triggered by the onChange event.
Attach this to the Dropdown field.
Inside the method you can then get at the values of the fields.
To get a field on the form use "var fld = document.getElementById("id of dropdown");"
Now you have the field you can get the value of the element.
var val = fld.Value
or you can use the top.aras.alertError("message");
Hope this helps,