Re: FN-FORUM: IFRAMES troubles
date posted 27th January 2006 13:06
At 1:21 pm +0000 27/1/06, D D Glendinning wrote:
>Hi all!
>
>Right I have a form, in which I need to include a list of thumbnails,
>with each having a radio button, so the person can select an image,
>and when the form is submitted the value of the selected radio button
>is made available. The problem is that there are a lot of images, so I
>thought of including an IFRAME in the form, which will allow the
>person to scroll through.
>Problem is, when the form is submitted, I can't seem to get the value
>of that radio button passed from the IFRAME to the parent.
>
>Any Ideas?
>
>If theer are any better ways to do it, am open to suggestions!
It would be useful to see the code, but:
You should be able to pass a value for the selected image back to a
hidden field in the form using javascript by referencing the parent
frame.
Alternatively, have you considered placing these in a DIV rather than
an IFRAME. That was they should still be an element of the form.
HTH
ColinR
--