You now have two form fields with the same name.  You can lose the
hidden field for x_last_name since you now are getting it from the
input.



On Mon, Aug 18, 2014 at 7:21 PM, Eric Bourland <[email protected]> wrote:
>
>> >  >>>An easier option would be to just rename your LastName
>> > field to x_last_name and not have to deal with the javascript at all.
>
> Dean, Maureen: I agree that simple is best. So, I dispensed with cfset, and 
> used this:
>
> <!--- Create the HTML form containing necessary SIM post values --->
> <FORM method='post' action='#posturl#' >
>
> <p>Enter Last Name: <INPUT type="text" NAME="x_last_name" value="" /></p>
>

> ...but ColdFusion objects to the syntax of this line:
>
>     <INPUT type='hidden' name='x_last_name' value='#x_last_name#'
> /> <!--- populate field 'x_last_name' with value
> #x_last_name#--->
>
> Am I on the right track? I feel like I have been missing something quite 
> obvious. Thank you again for your help.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359155
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to