![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, Thanks for taking a look at this! Problem: I'm trying to pass multiple dynamic values between a slaveform and a masterform. The problem I'm having is on the slaveform I loop through multiple records and want two values depending on the row they select. slaveform: x=selected Radio ID Location x 1 1 2 2 3 3 . . . So in the slaveform I want the ID=1 and Location=1 passed back to the masterform. Since the row has been selected by selecting the radio button. I'm using ASP to loop through the records of the database if this makes any difference. I would really appreciate an example or suggestions if you guys have any. Thanks ! |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Could you give me just a little more direction ? Thanks ! |
#5
| |||
| |||
|
|
Sure Could you give me just a little more direction ? Thanks ! returnedValue is a function you can write yourself. I just thought it was a good name, but you can name it 'monkey' if you like. You could process the values in the following manner. Depending on what you want, you could do anything else with it. This would be a possible implementation script language="JavaSCript" !-- function returnedValue(id, location) { f = document.myForm; f.id.value = id; f.location.value = location; } !-- -- [...] FORM NAME="myForm" [...] [...] INPUT TYPE="hidden" name="id" Location: <INPUT TYPE="text" name="location" [...] /FORM I hope it helps, Vincent |
![]() |
| Thread Tools | |
| Display Modes | |
| |