• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

error on all hidden type for tag cfinpit . help!

New Here ,
Feb 08, 2007 Feb 08, 2007

Copy link to clipboard

Copied

I've a problem with some coldfusion 6.1 scripts running on a server with coldfusion 7.
It seems that it isn't accepting the hidden type for the tag cfinput, as it throws an error
described on the following lines:

The value of the attribute TYPE, which is currently "Hidden", must be
one of the values: RADIO,CHECKBOX,PASSWORD,TEXT.

The error occurred in
D:\hshome\user102\midasadmin.com\admin\pharmacies_edit.cfm: line 251

249 :
250 : <cfform>
251 : <cfinput type="Hidden" name="shipments" value="TRUE">


This code was working good on a coldfusion mx 6.1 server, but it wont work in the new server. When reffering to the knowledge base this code appears to be right and should run OK on a server with CF 7.

Is there anything wrong on that line?
or what could be the problem here?


please if you can reply to my email as well.

THANKS! 🙂
TOPICS
Advanced techniques

Views

333

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 08, 2007 Feb 08, 2007

Copy link to clipboard

Copied

Which precise version of CFMX7? Your code works fine for me on
7,0,2,142559.

With such simple requirements for the tag: why are you even bothering using
<cfinput> rather that just a simple <input> tag? You're not using any of
the functionality that <cfinput> adds to the mix.

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 09, 2007 Feb 09, 2007

Copy link to clipboard

Copied

i might be the server then...

do u know any cheap good cf server?
i run an ecommerce application with multiple fronts (like 1 backend with more than 3 websites)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 09, 2007 Feb 09, 2007

Copy link to clipboard

Copied

> i might be the server then...

You did not answer my question as to why you want to use <cfinput> in this
situation anyhow?

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 09, 2007 Feb 09, 2007

Copy link to clipboard

Copied

With such simple requirements for the tag: why are you even bothering
using <cfinput> rather that just a simple <input> tag? You're not
using any of the functionality that <cfinput> adds to the mix.

Does <cfinput...> support the hidden input type? What benefit would a
<cfinput> bring to a hidden field? I would think you would want to use
basic <input...> tags for these fields.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 10, 2007 Feb 10, 2007

Copy link to clipboard

Copied

this is a very complex application. I'm not including all the code here. This application was built by somebody else and was 100% functional as i was one of its users.

we are trying to make it live again.

the cfinput is just a single tiny detail, i dunno why they'd use a cf tag but we cannot fix more than 500 files right now.
we have to stick to what already was working. I was just wondering why would this cause an error

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 10, 2007 Feb 10, 2007

Copy link to clipboard

Copied

LATEST
> we have to stick to what already was working. I was just wondering why would
> this cause an error

Well you could do one of these:
1) reinstall CF, as it looks like your current one is bung.
2) simply change the - completely redundant and incorrect - <cfinput> with
an equivalent <input>.

Those, by the sounds of it, are your options.

It's up to you.

I know what *I'd* be doing, though.

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation