Hi,
Thanks for getting back in touch. Whilst there are 4 forms on
the page
(when editing) the reality is that, client-side, they'll only
ever see two.
On the left, if they haven't chosen a previously used address
from the drop
down menu, they see a blank form - same on the right.
If they choose someone from the drop down menu on the left,
the blank left
form is replaced by another form which has database values as
its initial
values. Same on the right, but when the page refreshes on the
right, the
left values are gone.
I'll have a look at remote scripting and, if stuck, will no
doubt be back!
Much appreciated
Regards
nath.
"Lionstone" <HIDElionstone@HIDEhushmail.com> wrote in
message
news:e76coh$n5$1@forums.macromedia.com...
> Four forms does make things messier, because whichever
of the four forms
> is submitted needs to hold ALL the values necessary to
maintain state on
> the other three forms. If they're used in order (and
always in order),
> that means that the second form holds all its values
plus hidden fields
> for the first; the third has all its values and hidden
fields for the
> first and second, and so on and so forth. If they're
used in any order,
> then all four forms must have all fields necessary for
all the forms on
> the page, with the ones not currently applicable as
hidden fields.
>
> It's going to be a big leap, but you might want to
consider remote
> scripting here instead:
>
http://developer.apple.com/internet/webcontent/iframe.html
>
> That will mitigate the need for maintaining state on the
forms. Don't be
> put off by the title - the IFRAME isn't visible on your
page and holds no
> content for the user. It's just a convenient way to call
a processing
> page without the visitor leaving your form page . If I
was a trendy
> person, I'd call this "AJAX", but I despise fads. ;)
> Besides, this technique has been around forever.
>
> I use the IFRAME because it has slightly wider support
than the
> client-side XMLHTTP object that would typically be used
in this case. If
> you don't need to support older browsers (IE4, Opera 7,
etc), then it's
> your choice.
>
>
>
> "Nathon Jones" <sales@NOSHPAMtradmusic.com> wrote
in message
> news:e718hh$t22$1@forums.macromedia.com...
>> Is this perhaps something to do with the fact that
the drop down menus
>> are separate forms to the main address areas? In
effect, the main
>> address areas are not being submitted when the
option is selected from
>> either drop down menu. I need to know how to retain
the values in one
>> form, whilst the drop down menu in another form
refreshes the page.
>>
>> Hope you can help,
>> Much appreciated.
>> Nath.
>
>