Is it possible that you have more than one field with the name "varList" on
the page? If you have two form field on the same page with the same name.
Your action page will insert a comma in the form fields to delimit the
fields.

Paul Alkema
http://paulalkema.com/

-----Original Message-----
From: funand learning [mailto:funandlrnn...@gmail.com] 
Sent: Tuesday, May 18, 2010 1:50 PM
To: cf-talk
Subject: Comma Prepending to a form variable


Hi All,

I have a form variable which contains a list of names like

<input type="hidden" name="varList" value="coldfusion,java,dotnet">

when I go from the current page to another page and I check the above form
value, I have it as

 <input type="hidden" name="varList" value=",coldfusion,java,dotnet">

I am getting that extra comma before the first value. How to make sure I do
not have that extra comma?

Thanks




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333797
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to