I have tried multiple combinations using the trim function, but none of
them work. If I put a trailing space at the end of the search, I get no
record found. If there is no trailing space, the record is produced. I
would appreciate any guidance you can give.

 

I have tried:

value="<cfoutput>#Trim(fldname)#</cfoutput>"

value="#Trim(fldname)#"

value="#Trim(FORM.fldname)#"

 

 

<cfparam name="name" default="">

<cfparam name="email" default="">

<cfset fldname = name>

<cfset fldemail = email>

 

<cfoutput><form method="get" action="#ActionPage#"></cfoutput>

<input type="text" name="name" maxlength="15"
value="<cfoutput>#fldname#</cfoutput>" /><br />Name (1st or last)

<input type="text" name="email" maxlength="50"
value="<cfoutput>#fldemail#</cfoutput>" /><br />mail

 

Thanks,

 

Steve LaBadie, Web Manager

East Stroudsburg University

200 Prospect St.

East Stroudsburg, Pa 18301

570-422-3999

http://www.esu.edu <http://www.esu.edu> 

[email protected] <mailto:[email protected]> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330108
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to