To take form values from the dynamically generated, and named, form
elements and pass those values onto an action page.
Intended Course:
Write the variables to a CF Array or Structure, client side through a
_javascript_ function -> WDDX serialize that Array into a client scope WDDX
-> Deserialize the WDDX Packet on the action page.
Challenge:
I absolutely suck at _javascript_. I thought I knew something - turns out I
don't.
Code in Question:
<cfset i=1>
<CFLOOP QUERY="getSize">
<font face="Verdana, Monaco, Arial, Helvetica"
Size="1">Qty. of #MakeSize#:</font>
<input type="hidden" value="" name="MakeSize_#ValueID#"
size="4">
<input type="text" value="" name="qty_#i#" size="4"><br>
<cfset i= (i+1)>
</CFLOOP>
NOTE: MakeSize is the String Equiv of Value_ID ie. ValueID =24 then
MakeSize = Large, ValueID = 23 then MakeSize = Small, etc....
Question:
What's the quickest way to do this?
This could generate 0 - 15 or so form elements, so I think URL variables
are out. Maybe not. Possibly put these into a list and pass that in the
URL and parse it out on the other side? If so - how?
Am I out to lunch with the WDDX idea? If not, where could I go to see how
to create a CF Array or Struct via a _javascript_ function?
Personal Note: Not thinking well - my first B-day without my dad. First
everything after losing someone always sucks. Yeah, I'm a
heart-on-my-sleeve guy.
Guy McDowell
Web Developer
[EMAIL PROTECTED] - Magma Communications Ltd.
t: 613.228.3565 x6348
f: 613.228.8313
http://websites.magma.ca
This e-mail message is confidential, may be privileged and is intended for
the exclusive use of the addressee. Any other person is strictly
prohibited from disclosing, distributing or reproducing it. If the
addressee cannot be reached or is unknown to you, please inform the sender
by return e-mail immediately and delete this e-mail message and destroy
all copies. Due to the inherent risks associated with the Internet, we
assume no responsibility for unauthorized interception of any Internet
communication with you or the transmission of computer viruses. Thank
you.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

