Re: How to get the value of parent form field in child - logic:equal

2005-09-11 Thread O. Oke
Frank, Thanks for your advise. I wish to look into the onLoad option that you suggested, but please tell me, how to set the value attribute of logic:equal to the value of the opening form's field. For example, if opener.forms[0].to_country.value has a value of UK, how can I get this value (UK

Re: How to get the value of parent form field in child - logic:equal

2005-09-11 Thread O. Oke
Thanks for your response, I have taken note of your points. Please note, formB is actually opened as a popup - I should have mentioned this. --- Laurie Harper <[EMAIL PROTECTED]> wrote: > You're trying to mix JSP syntax, which is processed > on the server before > the page is sent to the brows

Re: How to get the value of parent form field in child - logic:equal

2005-09-11 Thread Frank W. Zammetti
Laurie is of course correct. However, the other way you can do this is to have the script that you show here in the value attribute execute as a result of the onLoad event. That way you would not need to pass the information through with the request. The flow of what happens in that case is

Re: How to get the value of parent form field in child - logic:equal

2005-09-11 Thread Laurie Harper
You're trying to mix JSP syntax, which is processed on the server before the page is sent to the browser, with Javascript, which is processed by the browser after the page is sent. You can't do that. What you'll need to do is, when formA opens formB (presumably by submitting an HTTP request),