> I have a form that allows the user to edit data in the database. > Let's now say that data looks like this: > > 14'6" cable > > Now, how does one handle the FORM element INPUT TYPE="text" > with a prefilled value in here? > > value="#data#" will only show: 14'6 in the text box. > value='#data#' will only show: 14 in the text box. > > Am I supposed to double-up the quote marks or something?
Yes. > Seems like people should be running into this all the time. > Maybe I just am not googling for it properly. I don't know, there just isn't that much to it. If you have double quotes in a double-quote-delimited string, you need to double them. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291227 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

