Re: OT NT Challenge Response

2005-04-17 Thread Thomas Chiverton
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 just need to strip out a space

2005-04-17 Thread Will Tomlinson
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

RE: I just need to strip out a space

2005-04-17 Thread Dawson, Michael
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

Re: I just need to strip out a space

2005-04-17 Thread Will Tomlinson
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

Re: I just need to strip out a space

2005-04-17 Thread Jared Rypka-Hauer - CMG, LLC
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)

Multiple submitt + variable

2005-04-17 Thread Douglas Fentiman
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

RE: Multiple submitt + variable

2005-04-17 Thread Justin D. Scott
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

RE: Multiple submitt + variable

2005-04-17 Thread Doug Fentiman
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

Need Help

2005-04-17 Thread Frank Weichmann
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

RE: Need Help

2005-04-17 Thread Justin D. Scott
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

RE: Multiple submitt + variable

2005-04-17 Thread Justin D. Scott
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,

RE: OT NT Challenge Response

2005-04-17 Thread David Brown
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

Re: Multiple submitt + variable

2005-04-17 Thread Jim McAtee
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

RE: Multiple submitt + variable

2005-04-17 Thread Doug Fentiman
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

RE: cfgridcolumn validation

2005-04-17 Thread Mike Nimer
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