RE: Append a single character at the end of a form input value???

2000-08-10 Thread Ed Toon
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"

Re: Append a single character at the end of a form input value???

2000-08-10 Thread Angel Stewart
Hmm..well...I wouldn't call myself a Guru..but jst maybe I could help you anyways ;-P On the Action page of that form, all you have to do before you enter the values into you're database.. is CFSET form.passing_this_value = #form.passing_this_value# #my_little_end_marker_thingy# or just

RE: Append a single character at the end of a form input value???

2000-08-10 Thread Philip Arnold - ASP
CFSET form.passing_this_value = #form.passing_this_value# #my_little_end_marker_thingy# or just CFSET form.passing_this_value = #form.passing_this_value# '@' assuming @ is what you want to append. someone can correct the positioning of the # and # etc...but you see what I'm getting at?

Re: Append a single character at the end of a form input value???

2000-08-10 Thread Angel Stewart
Would it affect performance? I've become accustomed to wrapping my variables in # # when writing CF.. -Gel - Original Message - From: Philip Arnold - ASP [EMAIL PROTECTED] To: [EMAIL PROTECTED] Yeah, get rid of them all - in this case as it's not in a string, you don't need #s

RE: Append a single character at the end of a form input value???

2000-08-10 Thread John Allred
Philip Arnold - ASPTo: [EMAIL PROTECTED]

RE: Append a single character at the end of a form input value???

2000-08-10 Thread Philip Arnold - ASP
Yeah, get rid of them all - in this case as it's not in a string, you don't need #s inside the CFSet Would it affect performance? I've become accustomed to wrapping my variables in # # when writing CF.. There is a performance hit, but very minor - I personally think that it's ugly to