Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Receiving error on "input type="hidden""

Status
Not open for further replies.

married2themachine

Programmer
Mar 11, 2004
5
US
This works fine on my standalone development machine...but when I post the code to the production server, I get an error that basically tells me it isn't acknowledging my 'hidden' input type:

Here is the code:
<cfinput type="hidden" name="District_ID" value="#URL.District_ID#">

Here is the error message:
Attribute validation error for tag CFINPUT.
The value of the attribute TYPE, which is currently "hidden", must be one of the values: RADIO,CHECKBOX,PASSWORD,TEXT.

Could it be a CF version issue? A setting on the server?
 
use:
<input type="hidden" name="District_ID" value="#URL.District_ID#">

not cfinput does not handle hidden fields



 
Hmmmm...cfinput processes hidden input fields on my development server.

Anyhow...I changed it to <input type="hidden"
on the production server by how do I get it to pass my url variable now? I no longer get the error, but it is passing the actual string to the url, not the variable that I need passed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top