On Friday 15 Apr 2005 19:15 pm, David Brown wrote:
then redirect them to a public anonymous intranet site. I would prefer
them not see the IE login window asking for a username/password that they
If it's a known set of offices, and all users at those sites aren't in the
domain, maybe you
I'm trying to simply strip out any spaces from a scent being entered through a
form input.
The scent might be Grape Ape, and I'm using it to build a product code. So I
just need to get that space outa there (grapeape), and I'm doing something
wrong here.
cfset
Assuming this is not a multi-line text area form field...
cfset stripscent=Replace(FORM.prodscent, ,,ALL)
If you need to strip tabs and carriage returns, you should use a regex that
looks for whitespace chars and strips all of them.
M!ke
From: Will
Assuming this is not a multi-line text area form field...
cfset stripscent=Replace(FORM.prodscent, ,,ALL)
Thanks Michael! It did the trick. Hopefully that'll be my only brain spasm for
the day, but somehow I DOUBT it...
:)
Will
Will:
reReplace(form.prodscent,\s,,all)
There's your regex... strips any kind of whitespace from the text in question.
J
On 4/17/05, Will Tomlinson [EMAIL PROTECTED] wrote:
Assuming this is not a multi-line text area form field...
cfset stripscent=Replace(FORM.prodscent, ,,ALL)
Hi all,
I have a form with multiple submit buttons. Each button has a unique associated
id value. I want to pass the associated id value with the submit button that is
pressed.
I have checked out the Multiple_Submit Tag, using input type=submit
name=_fuseaction=#XFA.userApprove#, which works
I have a form with multiple submit buttons. Each
button has a unique associated id value. I want to
pass the associated id value with the submit
button that is pressed.
If you can rely on JavaScript in your environment, set a hidden form field
that will contain the ID but default it to be
Thanks Justin, but I can't rely on JavaScript...
DF
-Original Message-
From: Justin D. Scott [mailto:[EMAIL PROTECTED]
Sent: April 17, 2005 4:31 PM
To: CF-Talk
Subject: RE: Multiple submitt + variable
I have a form with multiple submit buttons. Each
button has a unique associated id
I need to create a form with 15 minutes blocks that people can choose a block
to sign up for. The page is receiving a variable for the number of blocks the
person needs (1 =15 mins, 2 =30 mins, etc) and it has to be able to check the
datasource if those spots are already taken for the next
I need to create a form with 15 minutes blocks that
people can choose a block to sign up for. The page
is receiving a variable for the number of blocks the
person needs (1 =15 mins, 2 =30 mins, etc) and it
has to be able to check the datasource if those
spots are already taken for the next
Thanks Justin, but I can't rely on JavaScript...
I don't have your original message handy, but another way may be to have
multiple hidden fields with the ID numbers associated with each submit
button. If the first button was pressed, the code would look for the value
of the first hidden field,
Yes, you are correct. I see this getting out of hand quickly. Data
Security should have never put user on our intranet without accounts. I
will look at your suggestion and try to win the battle of getting the
accounts created.
-Original Message-
From: Thomas Chiverton [mailto:[EMAIL
Try this. The trick is that when you get to your action page you loop
through the form fields looking for one with a name beginning with
ActivateMe_. When you find it, then you peel the user id value off of
the field name. I don't use fusebox, so I have no idea how consistent
this is with
Thanks Jim,
I've been working along this same idea and almost have it working the way I
want. Your example clarifies and confirms my direction... Found my example
while pawing through a fusebox3 security example created by Tom Nunamaker
back in 2001 or so.
DF
-Original Message-
From: Jim
Sorry for the delay, hope this can still help. The trick is not to
reference the checkbox component directly - instead you want to
reference the value of the column in the dataProvider.
Here is an example:
cfform format=flash
15 matches
Mail list logo