Questions tagged [cfform]

ColdFusion enhanced forms

<cfform format="HTML"> and its related tags provide enhanced capabilities to HTML forms. <cfform> allow for client side data validation for things like

  • required fields
  • numeric only fields
  • data only fields

Other fields have completely new capabilities

<cftextarea richtext="yes"> creates a WYSIWYG HTML editor

<cfform format="flash"> makes flash based forms instead of HTML.

Because <cfform> functionality is tied in with a specific version of ColdFusion, many developers prefer using other technologies for client side data validation.

For more details: https://learn.adobe.com/wiki/display/coldfusionen/cfform

61 questions
6
votes
4 answers

CFForm vs Form in Coldfusion

I have been using plain forms and input fields in coldfusion for some time now but recently discovered that cfinput tags will automagically prevent some xss attacks for me. This has made me wonder, if there is any disadvantages to using cffrom and…
corymathews
  • 12,289
  • 14
  • 57
  • 77
4
votes
1 answer

CFGRID bind in HTML format does not work in Coldfusion 11

OK, so I've spent the last couple of days researching this issue on various websites including this one and I'm still no closer to having an answer. I have seen claims that this was a bug and was fixed on Adobe's end in one of the CF11 patches and…
William
  • 41
  • 3
4
votes
2 answers

What issues coldfusion UI tags have

I have heard many times senior developers asking not to use coldfusion UI tags and that they cause problems. But can someone let me know what kind of problems it creates? I do not use CFML UI tags mostly, but some of the legacy code has them…
CFML_Developer
  • 1,565
  • 7
  • 18
4
votes
4 answers

How to validate characters ONLY in ColdFusion CFForm?

I've got a very simple cfform with a single form field:
Chris Brandt
  • 948
  • 3
  • 11
  • 22
3
votes
0 answers

Form variable populated in request, but empty string on receiving form

Something weird or something obvious. I've inherited a coldfusion application, which I need to work with as it is for the meantime, including the widespread use of etc. We have a select list as follows:
user460114
  • 1,848
  • 3
  • 31
  • 54
3
votes
2 answers

How to perform submit button function in ColdFusion?

I am new to coldfusion , please check my code below

hi

User Name:
Soujanya
  • 277
  • 4
  • 17
2
votes
2 answers

What does cfform enablecab="No" do?

I am working on a lot of ColdFusion legacy code. I am seeing I am working on retiring but I am at a loss as to what enablecab="No" does. QA has spotted the change, but I am at a loss…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
2
votes
2 answers

Sending cf mail from a static page to single recipient

Trying to send from a contact us static page. It will have a single recipient and I don't want to save it on the back end.
2
votes
2 answers

ColdFusion how to set form input values from the results of a cfquery?

Question: (part 1) I am looking for the most efficient way to set my form input values based on the results of my cfquery. My form fields all match the column names in the database. I know using cfinsert I can update the database with form input…
Denoteone
  • 4,043
  • 21
  • 96
  • 150
2
votes
1 answer

Text will not align left of datefield box

This should not be difficult at all... All I want is for the datefield box to align on the right side of my text (Date of Purchase). For some reason it will only align underneath the text or I can get the text to align on the right of the datefield…
user3585198
2
votes
2 answers

Markup validation error when using CFForm

Does anyone know of a solution to the following markup validation error? I'm not sure if this is an issue in ColdFusion or my own code, but the output of the following snippet does not validate correctly on W3C markup validation service: Code …
Mohamad
  • 34,731
  • 32
  • 140
  • 219
2
votes
4 answers

CSS bleed-through with cfinput type="datefield"

I have a form using multiple . They are positioned in such a way that the pop-up CSS calendar should appear over the field for others. However, the text fields for the other dates end up in front of the calendar. This…
ale
  • 6,369
  • 7
  • 55
  • 65
2
votes
1 answer

Coldfusion cfform validation for hidden fields

I have a form with a select box with some options. if the user selects Other option, it will display the hidden text field in which user has to enter his choice. Both the form fields are required fields. But the validation fails when i select any…
shemy
  • 573
  • 1
  • 5
  • 15
2
votes
1 answer

ColdFusion - Using a cfloop with multiple fields and multiple submit buttons

I'm looking to pass form values in a cfform to a PDF using cfpdfform. Here's my little test page that loops through 50 records to pull the first and last name. I'm trying to just pull those into the pdf fields. Currently it puts in all 50 of the…
Macness
  • 1,226
  • 2
  • 13
  • 24
1
vote
1 answer

Cannot find syntax error in Coldfusion query

I do not understand why I am getting this error. I am using a cfform to send data from one html page to the next. See below. Another thing I am noticing is that the first two characters of the angle_changes string are cut off. It should be…
1
2 3 4 5