|
| |
|
|
travismp
Posts: 233 Joined: 2/1/2002 From: hutchinson ks USA Status: offline
|
save form not saving correct if there is an apostrophe - 4/18/2008 11:25:47
I have a form that loads a field from my DB from a previous page. The field name is [Contractors] the new form allows my users to enter new records and it saves the new record with the [Contractor] field. However if there is an apostrophe it drops the rest of the company name. value='<%=Request("Contractors")%>'></font> Example: STEVE'S EXCAVATION Only saves: STEVE Can I add anything to my code above to resolve this issue? Thanks.
|
|
|
|
rdouglass
Posts: 9167 From: Biddeford, ME USA Status: offline
|
RE: save form not saving correct if there is an apostrophe - 4/18/2008 12:15:09
quote:
value='<%=Request("Contractors")%>'></font> Try using double quotes instead: value="<%=Request("Contractors")%>"></font>
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
travismp
Posts: 233 Joined: 2/1/2002 From: hutchinson ks USA Status: offline
|
RE: save form not saving correct if there is an apostrophe - 4/18/2008 12:25:33
That worked GREAT. Thank you so much.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|