I'm working on a quotation page. I have a long (very) form and when elements
in the form change I need it to process a cftag.
I have this working pretty well using onchange to submit the form, but it's
pretty horrible for the user to be returned to the top of the page after
each submit/page
-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 30 July 2008 17:29
To: CF-Talk
Subject: Form question
I'm working on a quotation page. I have a long (very) form and when elements
in the form change I need it to process a cftag.
I have this working pretty well using
would I need to change the syntax, please?
Jenny
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: 30 July 2008 17:58
To: CF-Talk
Subject: RE: Form question
In the function that fires onchange, add the #place to the action of the
form.
Something like:
function
-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2008 4:11 PM
To: CF-Talk
Subject: RE: Form question
Hi Adrian,
Many thanks for the helpful reply, I'm still not very conversant with
Javascript.
An example of the code I've used is:
input name
it with some
jQuery myself.
Adrian
-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 30 July 2008 22:11
To: CF-Talk
Subject: RE: Form question
Hi Adrian,
Many thanks for the helpful reply, I'm still not very conversant with
Javascript.
An example of the code
, July 30, 2008 4:29 PM
To: CF-Talk
Subject: RE: Form question
The quick and dirty answer is:
input name=height type=text class=inputNumber id=height
onchange=this.form.action += '#yourAnchorHere';
document.forms['process'].submit(); cfif
isdefined(session.height)value=#session.height# /cfif
To: CF-Talk
Subject: RE: Form question
Jenny,
Is your action page the same page that your form is on, or is it a different
template and you do a cflocation back to the form template?
If it's the same, then Adrian's method should work.
If it's a different template, then you need to do it a bit
July 2008 22:29
To: CF-Talk
Subject: RE: Form question
The quick and dirty answer is:
input name=height type=text class=inputNumber id=height
onchange=this.form.action += '#yourAnchorHere';
document.forms['process'].submit(); cfif
isdefined(session.height)value=#session.height# /cfif /
But as Dave
Can anyone point me in the right direction.
I would like to update form elements as a user makes changes. So instead of
hitting a submit button, I'd like each one updated via AJAX through a CFC.
Are there any downsides to doing this? Are there any tutorials or docs to
help me accomplish this? I
Jeff,
I think we might need more clarification here. ...update form elements
as a user makes changes has a few different meanings. If field
elements (say city and state) are bound to other elements (like a zip
field), then you might use Ajax to update the city and state with info
brought
Ok... Hopefully I can explain this a little better.
In simple terms... Say I have a mailing list signup form with different news
letters.
=
{{You have been added to [mailing list X] using [email address select]}}
[ ] Mailing List A [email address select]
[ ] Mailing List B [email
This can get tricky because the user can fill out the form without using the
mouse by tabbing with the keyboard. So you'd need onKeyPress handlers for
each field as well.
I suppose I'd be careful with this, but nothing is stopping you from doing
it. Most people are used to having things save when
Cheers, Artur
-Original Message-
From: Nick Han [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 12:10 AM
To: CF-Talk
Subject: cfgrid flash form question
Hi All, I am using a cfgrid flash type.
cfgrid name=batchType
height=200
width=410
Nick, the best way is to use a cfinput type=button to delete the
rows insted of the auto genereted del of the grid.
This code also popup´s an confirmation alert to confirm the delete:
cfsavecontent variable=actionDelete
var batchType = batchType
var myClickHandler = function (evt)
Fernandes [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 8:42 AM
To: CF-Talk
Subject: Re: cfgrid flash form question
Nick, the best way is to use a cfinput type=button to delete the
rows insted of the auto genereted del of the grid.
This code also popup´s an confirmation alert to confirm
:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 8:42 AM
To: CF-Talk
Subject: Re: cfgrid flash form question
Nick, the best way is to use a cfinput type=button to delete the
rows insted of the auto genereted del of the grid.
This code also popup´s an confirmation alert to confirm the delete
Hi All, I am using a cfgrid flash type.
cfgrid name=batchType
height=200
width=410
vspace=10
selectmode=edit
query=GetAdjustmentBatchTypes
insert=Yes
insertbutton=Add New Type
delete=yes
I have a basic question about using cfform - flash form. After I submit
the form and I hit the browser refresh button, the form fields do not
get post back again. They disappear as though the request did not come
from a form submit. This behavior is obviously different than html
form.
It
Okay I have a form with a series of selection boxes which fill the next
selection box. Then I have a radio button choice and depending which
radio button is selected a selection box will appear next to the label
of the radio button. When I decided to change say the first selection
box it at the
form question
Okay I have a form with a series of selection boxes which fill the next
selection box. Then I have a radio button choice and depending which
radio button is selected a selection box will appear next to the label
of the radio button. When I decided to change say the first selection
box
value=Reset Radio to Default
onclick=myform.rad[0].checked=true
/frorm
-Original Message-
From: Creese, Eric [mailto:[EMAIL PROTECTED]
Sent: Friday, August 19, 2005 12:05 PM
To: CF-Talk
Subject: Javascript form question
Okay I have a form with a series of selection boxes which fill the next
: Javascript form question
form name=myform
input type=radio name=rad value=0 checked Defaultbr
input type=radio name=rad value=1 Onebr
input type=radio name=rad value=2 Twobr
input type=radio name=rad value=3 Threebr
input type=radio name=rad value=4 Fourbr
input type=radio name=rad value=5 Fivebr
br
That was the idea :)
I figured you would figure out to put it in your own function.
Cheers
-Original Message-
From: Creese, Eric [mailto:[EMAIL PROTECTED]
Sent: Friday, August 19, 2005 1:46 PM
To: CF-Talk
Subject: RE: Javascript form question - SOLVED
Actually I need to do this from
I've recently begun updating one of our web apps- adding some new
features, improving the coding style, and taking advantage of some of
the new CF7 features.
One form was laid out in a nested-table layout, with HTML and CFM
controls mixed in. I rewrote it using a CF7 XML format with cfformgroup
Matt,
I converted a rather large form from plain jane XHTML to a flash form and
the page took about 4 years to load. Nothing to tricky either 22 form
elements, 9 of which were select boxes being populated with from cached
queries (average recordset was about 10 records). I was asked to change
, International
-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 9:53 AM
To: CF-Talk
Subject: RE: XML Form question
Matt,
I converted a rather large form from plain jane XHTML to a flash form
and
the page took about 4 years to load. Nothing
I am interested to see if some MM people have some ideas as to why the
execution times are so dramatically higher. If this is not a configuration
issue I would be reluctant to use them for larger forms.
Mike
From: Matt Osbun [mailto:[EMAIL PROTECTED]
I was surprised to see this kind of
the
skin=none. You won't get any output but we also won't run the xslt.
This will help us to narrow it down to the performance culprit.
---nimer
-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 11:12 AM
To: CF-Talk
Subject: RE: XML Form
I just finished building an app using the new CFMX 7 flash forms. It
works great on both dev boxes. However, when I move it to the client's
server it throws a Javascript error lc_id is undefined and then just
*sits* there.
Anyone have any ideas about this one? I'm at a loss as to what might
:[EMAIL PROTECTED]
Sent: Sunday, March 13, 2005 2:40 PM
To: CF-Talk
Subject: Flash Form Question
I just finished building an app using the new CFMX 7 flash forms. It
works great on both dev boxes. However, when I move it to the client's
server it throws a Javascript error lc_id is undefined
s.
Hope that is of some help.
Michael
- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Fri, 24 Sep 2004 19:49:53 -0400
Subject: CF and _javascript_ Form Question
To: CF-Talk [EMAIL PROTECTED]
Goal :
To take form values from the dynamically generated, and n
avascript_ Form Question
To: CF-Talk [EMAIL PROTECTED]
Goal :
To take form values from the dynamically generated, and named, form
elements and pass those values onto an action page.
Intended Course:
Write the variables to a CF Array or Structure, client side through a
_javascript_ function - WDDX
Goal :
To take form values from the dynamically generated, and named, form
elements and pass those values onto an action page.
Intended Course:
Write the variables to a CF Array or Structure, client side through a
_javascript_ function - WDDX serialize that Array into a client scope WDDX
-
Hello All:
Form Question for GET
How do I pick apart the URL values in a method = GET to have them be a
list like in method equals post? Im trying to insert the value of my
form field into my database query and I realized only one value was
getting passed to it. My issue is the URL has
:24 PM
Subject: Form Question for GET
Hello All:
Form Question for GET
How do I pick apart the URL values in a method = GET to have them be a
list like in method equals post? I'm trying to insert the value of my
form field into my database query and I realized only one value was
getting
-
Vancouver Island ColdFusion Users Group
Founder Director
www.cfug-vancouverisland.com
- Original Message -
From: James Blaha [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, March 17, 2003 3:24 PM
Subject: Form Question for GET
Hello
: Form Question for GET
Bryan,
I'm stuck using GET I can't use POST for this form. Thanks for your
POST! Do you have an example of what your talking about to loop through
the URL that you can POST back with the example I posted?
Thanks Again!
JB
Bryan Stevenson wrote:
My first question
I'm using this tag cf_ActiveCrossSelect which basically creates two multi-select boxes
and you can move values back and forth. The first one is created from a query, the
2nd is blank until you moves values to it.
So, when you submit and then hit back, the values are lost from the 2nd select
anyways.
Just a heads up.
Mike
-Original Message-
From: Turetsky, Seth [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 8:53 AM
To: CF-Talk
Subject: form question
I'm using this tag cf_ActiveCrossSelect which basically creates two multi-select boxes
and you can move values
more powerful UI
experiences using the API.
-Dan
-Original Message-
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 10:09 AM
To: CF-Talk
Subject: RE: form question
I have an alternative I have foudn very useful in the past few weeks
As the author of the API, one thing I tried to do was *simplify* JS
development for the developer. If you're not that familiar w/JavaScript,
it still should be something you can get up and running w/in a few
minutes by going through the examples.
I think you'll also find you'll be able to
. :)
Oh yeah, it support internationalized messaging too!
-Dan
-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 12:39 PM
To: CF-Talk
Subject: RE: form question
As the author of the API, one thing I tried to do was *simplify* JS
Isaac,
Just so you know, I've been working on v2 and although everything should
be backwards compatible, there's going to be a lot more event handling.
One of the things in v2, is you can choose to overwrite the default
behavior of displaying errors.
My goal is to allow you to easily hook
in will be
there if you setup the values properly.
ie:
input type=text name=mytext cfif isDefined(form.mytext)
value='#form.mytext#' /cfif
-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 12:08 PM
To: CF-Talk
Subject: Radio Button Form Question
Hello
15:54:43 -0500
From: Steve Oliver [EMAIL PROTECTED]
Subject: RE: Query output in a form question
Message-ID: 004501c1a2bd$da3b69d0$[EMAIL PROTECTED]
I'm not sure what you mean, do you just want to pass the Item ID of an
item with a radio input next to it? If so just do something like this.
input
, Paul [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 22, 2002 11:54 AM
To: CF-Talk
Subject: RE: RE: Query output in a form question
What I'm trying to do is on the result page to dynamically pull only the
items that were checked or radio or possibly an input textbox. And not
pull the ones
Hello, I have a db table that im querying into an html form table. I
would like have an input field linked to each entry in the database.
So that on submit it will only show the choices that were checked with
a radio button or something. Is this possible?
Here is the information that Im wanting
oliver
cresco technologies, inc.
http://www.crescotech.com
-Original Message-
From: Schwartz, Paul [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 2:44 PM
To: CF-Talk
Subject: Query output in a form question
Hello, I have a db table that im querying into an html form table. I
Depending on how much info is collected in the form, and if you can do
method=get, then you could post to the asp page and just have that
process what it needs to process and then redirect to the cf page
inserting the url vars.
But really you should evaluate why you need to call the asp page
]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 7:06 AM
Subject: Re: tricky form question
Depending on how much info is collected in the form, and if you can do
method=get, then you could post to the asp page and just have that
process what it needs to process and then redirect
responses.
You can see the front end in action on www.irelandclick.com
HTH,
Dave
-Original Message-
From: Troy Montour [mailto:[EMAIL PROTECTED]]
Sent: 18 December 2001 14:19
To: CF-Talk
Subject: Re: tricky form question
nope I can't replicate it.. well I could if I had the time
: Tuesday, December 18, 2001 9:19 AM
To: CF-Talk
Subject: Re: tricky form question
nope I can't replicate it.. well I could if I had the time but it was a
utility we bought for inserting users into Imail and the ISP we are using
here likes the security it has built into it.
So I figured all I need
to
control what it is doing.
- Original Message -
From: Dave Wilson [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 8:23 AM
Subject: RE: tricky form question
Troy, will your isp let you use cfexecute?...and if so, do they have Imail
on the same machine as your
-
From: Joel Parramore [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 8:33 AM
Subject: RE: tricky form question
Troy:
You should be able to bundle up the form and url scope variables available
in the ColdFusion template and POST to the ASP page using
Hello,
here is what I'm having problem with and not even sure I can pull
this off.
I have a normal html form which submits to a CF action page. wrench
thats throwen into the picture is I also have an asp action page I need
to load hidden.
I need to have the CF action page only come up
try a hidden frame
On Mon, 17 Dec 2001, Troy Montour wrote:
Hello,
here is what I'm having problem with and not even sure I can pull
this off.
I have a normal html form which submits to a CF action page. wrench
thats throwen into the picture is I also have an asp action page I need
Have the submit page process the request, then redirect to a frame set
with a hidden frame containing the asp page. You'll have to pass any
variables to the asp page via the url in the frame set call.
Hello,
here is what I'm having problem with and not even sure I can pull
this off.
I
form question
Hello,
here is what I'm having problem with and not even sure I can pull
this off.
I have a normal html form which submits to a CF action page. wrench
thats throwen into the picture is I also have an asp action page I need
to load hidden.
I need to have the CF action page
Hi all
I have a shopping cart page that posts to itself for updating a shopping
cart. Since it posts back to itself I cannot use hidden fields to pass
values or the structure will duplicate everything. Anybody have any
Ideas on the subject?
CF_SIGNATURE
NAME=Douglas L. Brown
, 2001 1:57 PM
To: CF-Talk
Subject: form question
Hi all
I have a shopping cart page that posts to itself for updating a shopping
cart. Since it posts back to itself I cannot use hidden fields to pass
values or the structure will duplicate everything. Anybody have any
Ideas on the subject
be gratly appreciated
DB
- Original Message -
From: Larry Juncker [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, November 02, 2001 12:14 PM
Subject: RE: form question
Can you expand just a little on what you currently have.
You are just a little broad here.
Larry
Shannon:
I'm using this on an intranet, and the user(s) have the Adobe Reader within the
browser, not the writer, so they can still fill out forms but cannot change them. My
custom button calls a .cfm, which sends an html acknowledgement page to the browser,
and doesn't show a c:/ path in the
PROTECTED]
Sent: Wednesday, August 01, 2001 1:06 PM
Subject: OT: Form question
Hi gang,
I have no problem with using HTML forms or CFFORM to create forms.
But I'm being asked to convert an existing paper-style MS Word document to
a web form where info can be captured and emailed.
My question
Here's a tip if you end up considering the option of converting your Word
form to HTML. To remove those nasty Office-specific tags, you can download
this HTML clean-up:
http://office.microsoft.com/downloads/2000/Msohtmf2.aspx
Yes, you'll still have a little clean-up because it's still abusing
Tim P.,
thanks! and this is happening on an intranet, where everyone has Acrobat
reader.
will give it a try.
-Ben
-Original Message-
From: Tim Painter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 3:13 AM
To: CF-Talk
Subject: Re: Form question
Not sure if this is what
Hi gang,
I have no problem with using HTML forms or CFFORM to create forms.
But I'm being asked to convert an existing paper-style MS Word document to
a web form where info can be captured and emailed.
My question is: is there a way to overlay form elements onto an existing
doc saved as HTML
I think you can at best get the layout though. Dumb suggestion, but why not
just save the word document as html and work with it from there?
-Original Message-
From: Braver, Ben [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 10:06 AM
To: CF-Talk
Subject: OT: Form question
saved. Build the form...
Kinda odd request bu I think I know what you are trying to do. :-)
Mike
-Original Message-
From: Braver, Ben [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 1:06 PM
To: CF-Talk
Subject: OT: Form question
Hi gang,
I have no problem with using HTML
, Mike [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 10:31 AM
To: CF-Talk
Subject: RE: Form question
Well you could save the word doc as HTML, then open the document up and add
the HTML for the fields. BE WARNED, Microsoft HTML is nasty to work in...
all kinds of crazy things going
01, 2001 10:31 AM
To: CF-Talk
Subject: RE: Form question
Well you could save the word doc as HTML, then open the document up and add
the HTML for the fields. BE WARNED, Microsoft HTML is nasty to work in...
all kinds of crazy things going on.
My other suggestion: take a creen shot of the form. set
Subject: RE: Form question
I've done a lot of converting Word docs to .pdf and building the form
functionality into the .pdf. You can add a button (and code it NOT to show
on the form if it is printed) that will call a .cfm and do whatever: write
to the database, etc. You can also fill the .pdf form
Hello cf-Talk,
I have a table where one of the fields is from a lookup table.
When a user enters the info, a CFSELECT can easily generate a
dropdown box for that field.
But, what if the user wants to go back and edit the record?
Now, I need a way so that the already selected info is
Maybe Im being dense today but I can do this in ASP pretty easy I just need
to know how to do it in CF.
I have a form that outputs a series of similar items that I allow the user
to change all at once with one form submit
example
INPUT TYPE="TEXT" NAME="FIELD_NAME#COUNTER#" VALUE="#FIELD_NAME#"
;)
cfset FieldID = evaluate("FieldID#Secondcounter#")
Then do you update or insert here.
/cfloop
- Original Message -
From: "Jason" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, April 04, 2001 4:01 PM
Subject: Form Question
Maybe Im being
Well, do create what you have in CF you would use Evaluate, e.g.,
myFormValue = evaluate("FORM.Field_name#counter#").
-Original Message-
From: Jason [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 3:02 PM
To: CF-Talk
Subject: Form Question
Maybe Im being d
Maybe Im being dense today but I can do this in ASP pretty easy I
just need to know how to do it in CF.
I have a form that outputs a series of similar items that I allow the user
to change all at once with one form submit
example
INPUT TYPE="TEXT" NAME="FIELD_NAME#COUNTER#"
ex="number" FROM = 1 TO = '#Form.how#'
CFQUERY name="blah" datasource="hehe"
UPDATE Table
Set mookie = '#Evaluate('Form.Day' number)#'
/CFLOOP
easy eh?
- Original Message -
From: Jason [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, April 04, 200
Thanks everyone, little bit of a brain fart there was actually using
evaluate at one point but had it misformatted. Now Im all set.
-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 20, 2000 10:22 AM
To: CF-Talk
Subject: Re: Form Question
hello u
That did the trick. Thank you so much for the tip Philip.
- - - Jeanne
From: "Philip Arnold - ASP" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: RE: CF and Javascript Form Question
Date: Tue, 20 Feb 2001 22:43:56 -
I have a form tha
Hi Everyone,
I have a form that contains fields for both General Contact Info and Billing
Contact Info. After the user fills in their General Contact Info, they can
click a checkbox called "Same Billing Info" which Prepopulates all of the
billing fields w/ the associated General Contact
fy
the system manager.
**
-Original Message-
From: Jeanne Sarfaty Glazer [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2001 22:33
To: CF-Talk
Subject: CF and Javascript Form Question
Hi Everyone,
TIA,
- - - Jeanne
Hello,
I have an application with dynamically created textboxes. I am trying to
have a checkbox that when clicked will call a javascript function that will
loop through each textbox made and delete the information that is in it. I
can't figure out how to get into the loop. I have for( i=0; i
Always wondered about how to do this and now I got a client that wants it
done .. .
hopefully, someone on this esteemed list can point me in the right direction
on the RESULTS page of a search, I display check boxes next to each result
representing the ability to delete that particular
in (#form.name#)
Rick
-Original Message-
From: Jim Mixon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 12:14 AM
To: CF-Talk
Subject: Form Question
Always wondered about how to do this and now I got a client that wants it
done .. .
hopefully, someone on this esteemed list
Here is the case:
let say people can access to a form page in our site. If somebody downloads
that page to the computer and load it, how can I prevent him from posting the
form to the our site? I don't think i can check cgi.http_referer because in
this case, it will be empty (nothing). And I
server side checks of all the form
fields, thus ensuring that everything they submit is on the up and up.
AJ
-Original Message-
From: JL [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 12:00 PM
To: CF-Talk
Subject: Form Question
Here is the case:
let say people can access
form to the our site? I don't think i can check
cgi.http_referer because in
this case, it will be empty (nothing). And I don't think I
can reject all
empty cgi.http_referer because of the cflocation. Any
CFIF cgi.HTTP_REFERER DOES NOT CONTAIN "http://www.mydomain.com/"
Caught you!
Should have mentioned...
Output all your variables to the screen via the Administrator.
index.cfm
FORM ACTION="redirect.cfm" METHOD="post"
INPUT TYPE="submit"
/FORM
redirect.cfm
CFLOCATION URL="index.cfm" ADDTOKEN="no"
You'll find that cgi.HTTP_REFERER is there on index.cfm when you've
Except that the client can put anything it wants in http_referer.
-Original Message-
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 12:38 PM
To: CF-Talk
Subject: RE: Form Question
form to the our site? I don't think i can check
cgi.http_referer
Is that possible with CGI.REMOTE_ADDR as well or is that browser dependent?
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, October 12, 2000 10:49 AM
Subject: RE: Form Question
Except that the client can put anything it wants in http_referer
PROTECTED]]
Sent: Thursday, October 12, 2000 12:45 PM
To: CF-Talk
Subject: Re: Form Question
Is that possible with CGI.REMOTE_ADDR as well or is that browser dependent?
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, October 12, 2000 10:49 AM
http_referer is a good measureI would also strongly urge you to never put prices
and the like in a (hidden) form field, all those should be generated from a database;
also look into the cf_scriptkill custom tag or the like to prevent embedded scripts
from being run in your form fields.
At 15:10 10/12/00 -0500, you wrote:
http_referer is a good measureI would also strongly urge you to never put prices
and the like in a (hidden) form field, all those should be generated from a database;
also look into the cf_scriptkill custom tag or the like to prevent embedded scripts
Is this possible?
Using a drop down box with a number of choices. Last choice is "OTHER"
If someone picks "OTHER", I'd then like two new text input fields to appear
for them to fill in.
I can obviously just have the fields already there marked "Please fill these
out if you picked "OTHER", but
You can only do this in Version4 browser + , unless you relaod the page.
Look at the disabled property in IE4
~JustinMacCarthy
- Original Message -
From: Les Mizzell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 17, 2000 3:36 PM
Subject: One more form question
I have a dynamic form with multiple checkboxes. They are named checkbox1,
checkbox2, checkbox3, etc. I am using this to loop through and get the value
of each:
CFSET VARIABLES.var_name = "FORM.text" VARIABLES.index
CFSET VARIABLES.default_value = Evaluate(VARIABLES.var_name)
CFSET
At 08:31 AM 5/24/00 -0700, you wrote:
I have a dynamic form with multiple checkboxes. They are named checkbox1,
checkbox2, checkbox3, etc. I am using this to loop through and get the value
of each:
CFSET VARIABLES.var_name = "FORM.text" VARIABLES.index
CFSET VARIABLES.default_value =
I have a dynamic form with multiple checkboxes. They are
named checkbox1, checkbox2, checkbox3, etc. I am using this
to loop through and get the value of each:
CFSET VARIABLES.var_name = "FORM.text" VARIABLES.index
CFSET VARIABLES.default_value = Evaluate(VARIABLES.var_name)
CFSET
checked), then CF will ignore the
cfparam tag.
Hope this helpsI wasted an afternoon figuring this one out :)
- Original Message -
From: Jason Zimmerman [EMAIL PROTECTED]
To: Cf-Talk (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, May 24, 2000 11:31 AM
Subject: Form question
I hav
In a form how can I check to make sure the user enters exactly 16 numbers?
I know this doesnt work (below), but this is what i'm using right now. Thanks for your
help.
CFINPUT TYPE="text" NAME="Whatever" SIZE="16" MAXLENGTH="16" Validate="integer"
Required="yes" Message="Please enter a valid
100 matches
Mail list logo