I have a Issue in my project..I have a Form which saves the entry with a Unique Registration number in the success page,each time which is displayed in a simple text.In another page i choose the drop down to take that Registration number to edit other details.
So By Using script or any other mean,can i take the dynamically changing Registration number and use in the 2nd page.
Yes you can do that.
After saving the page, using the GetROProperty read the value and store it on some variable. and when u want to select that particular value from the drop down list pass that variable to the select statement.
Eg. WebList(.....).Select variable
Say for example "Registration no." is an edit box where it displays the registration no. after saving the record. So in-order to store that value use the following script:
The above statement will store the dynamically generated registration no. into the variable vRegNo
Now in the second page, where the registration no. has to be selected from a dropdown list to edit.
Browser(....).Page(....).Weblist(...).Select vRegNo
This will select that registration no. from the dropdown list.