Seeing as you don't specify where or why you want to append it... our single
character will be a pipe (|).
<input type="text" name="passing_this_value" value="#this_value#|">
<form onSubmit="this.passing_this_value.value =
this_passing_this_value.value + '|';">
<input type="text" name="passing_this_value" value="">
<input type="text" name="passing_this_value" value="">
then on the next page... <cfset FORM.passing_this_value =
FORM.passing_this_value & "|">
However, you probably don't need any of that... why would you? You can get
the length of the string Len(passing_this_value), and none of CF's many
string manipulation functions require such a thing..
Ed.
-----Original Message-----
From: Mike Deane [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 10, 2000 6:59 AM
To: '[EMAIL PROTECTED]'
Subject: Append a single character at the end of a form input value???
Importance: High
Gurus everywhere?!
Is there a way I can append a character to the end of an input value so
that I can find a predetermined "end marker" for string manipulation.
Example:
<input type="text" name="passing_this_value" value=""> But, I need to
append a character at the end.
Help!!!
Thank you.
/mdeane
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.