|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
RegExp QuestionI'm trying to break a large chunk of text, so, a user can click on MORE to to read the rest of it. Using the following technique has some success, however, it does not seem to be good enough. -- cut off point, 500 characters <cfset brkR = MID(myTxt,500,5)> <cfset brk = Find(" ", brkR)> <cfoutput> #Left(myTxt,500+brk)# then, upon clicking the MORE link, it display the rest as follows: -- the main body of the txt #Mid(myTxt,501+brk,Len(myTxt))# </cfoutput> Attempt to use <cfset brk = REFind("[\s]", brkR)> does not help or I didn't do it right. It sort of works, but an issue is, it now shows &, nbsp; etc. special characters in the "breaking" area. Question, what is a better way to do this? If we stick with this method, how to use RegExp to remove the special characters in the output. Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327912 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: RegExp QuestionThere are a number of UDFs on cflib that will handle this... http://cflib.org/udf/FormatTeaser http://cflib.org/udf/FullLeft ... and probably a few others. Browse the string library at http://cflib.org/library/StrLib On Mon, Nov 2, 2009 at 11:42 AM, Don L <donli@...> wrote: > > I'm trying to break a large chunk of text, so, a user can click on MORE to > to read the rest of it. > Using the following technique has some success, however, it does not seem > to be good enough. > > -- cut off point, 500 characters > <cfset brkR = MID(myTxt,500,5)> > <cfset brk = Find(" ", brkR)> > > <cfoutput> > #Left(myTxt,500+brk)# > then, upon clicking the MORE link, it display the rest as follows: > -- the main body of the txt > #Mid(myTxt,501+brk,Len(myTxt))# > > </cfoutput> > > Attempt to use > <cfset brk = REFind("[\s]", brkR)> > does not help or I didn't do it right. > > It sort of works, but an issue is, it now shows &, nbsp; etc. special > characters in the "breaking" area. Question, what is a better way to do > this? If we stick with this method, how to use RegExp to remove the special > characters in the output. > > Thanks. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327915 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: RegExp Question>There are a number of UDFs on cflib that will handle this... > >http://cflib.org/udf/FormatTeaser >http://cflib.org/udf/FullLeft > >... and probably a few others. Browse the string library at >http://cflib.org/library/StrLib > >On Mon, Nov 2, 2009 at 11:42 AM, D > >> Great. Thanks Charlie. One thing, I don't get it about RegExp in this case per the second link, why two brackets as [[:space:]] instead of one as [:space:] ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327918 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: RegExp QuestionIt's the posix expression [:space:] inside of a character class (surrounded by square brackets) so... [[:space:]] see http://livedocs.adobe.com/coldfusion/8/htmldocs/regexp_09.html On Mon, Nov 2, 2009 at 12:44 PM, Don L <donli@...> wrote: > > >There are a number of UDFs on cflib that will handle this... > > > >http://cflib.org/udf/FormatTeaser > >http://cflib.org/udf/FullLeft > > > >... and probably a few others. Browse the string library at > >http://cflib.org/library/StrLib > > > >On Mon, Nov 2, 2009 at 11:42 AM, D > > > >> > > Great. Thanks Charlie. One thing, I don't get it about RegExp in this > case per the second link, why two brackets as [[:space:]] instead of one as > [:space:] ? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: RegExp QuestionI have done this before. The old way is to refresh the page. The new way is to toggle the rest of the content into view using Javascript. Include JQuery <div id="snip"> #left(var,500)# </div> <div id="btnA" onclick="$('#moreDiv').slideDown();$("#snip").hide()$(this).hide();$('#btnB').show()">MORE</div> <div style="display:none" id="moreDiv"> #var# </div> <div style="display:none" id="btnB" onclick="$('#moreDiv').show();$("#snip").show();$('#btnA').show();$(this).hide()">LESS</div> Untested. You can put it into a function and pass in your div parameters, etc. Faster than reloading the page. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Clear Fields In FirefoxI'm having issues with Firefox filling in my UserID and Password fields on a log-in form (present on every page). I want the fields be clear empty, so the question is: How do I override Firefox and clear the form fields? Here's what I've tried so far: 1. Changed field names (no effect). 2. CFINPUT Value="", no effect. CFINPUT Value=" " works, but in the password field it show the space. 3. Added a clear_form JS function and OnLoad of the page I clear the fields. That works OnLoad, but if you hit the back button in the browser the OnLoad script does not run and the fields are filled in again.. Any ideas? Thanks, Robert Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged __________ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __________ The message was checked by ESET Smart Security. http://www.eset.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327994 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RESEND: Clear Fields In FirefoxRESEND: Sent the original an hour ago, but don't see it in the mail. I'm having issues with Firefox filling in my UserID and Password fields on a log-in form (present on every page). I want the fields be clear empty, so the question is: How do I override Firefox and clear the form fields? Here's what I've tried so far: 1. Changed field names (no effect). 2. CFINPUT Value="", no effect. CFINPUT Value=" " works, but in the password field it show the space. 3. Added a clear_form JS function and OnLoad of the page I clear the fields. That works OnLoad, but if you hit the back button in the browser the OnLoad script does not run and the fields are filled in again.. Any ideas? Thanks, Robert Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged __________ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __________ The message was checked by ESET Smart Security. http://www.eset.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327996 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Clear Fields In FirefoxRobert Harrison wrote: > How do I override Firefox and clear the form fields? Turn off the remember password features in your Firefox options! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327999 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Clear Fields In Firefoxhttp://www.verysimple.com/blog/2007/03/07/forcing-firefox-to-obey-autocomple teoff-for-password-fields/ Should help. -----Original Message----- From: Robert Harrison [mailto:robert@...] Sent: Wednesday, November 04, 2009 10:41 AM To: cf-talk Subject: Clear Fields In Firefox I'm having issues with Firefox filling in my UserID and Password fields on a log-in form (present on every page). I want the fields be clear empty, so the question is: How do I override Firefox and clear the form fields? Here's what I've tried so far: 1. Changed field names (no effect). 2. CFINPUT Value="", no effect. CFINPUT Value=" " works, but in the password field it show the space. 3. Added a clear_form JS function and OnLoad of the page I clear the fields. That works OnLoad, but if you hit the back button in the browser the OnLoad script does not run and the fields are filled in again.. Any ideas? Thanks, Robert Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged __________ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __________ The message was checked by ESET Smart Security. http://www.eset.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327998 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Clear Fields In FirefoxCouple of options you can try: 1) add autocomplete="off" to the input 2) on page load do a document.forms['formname'].reset() 3) generate a UUID and append it to the field name (pass as a hidden input to retrieve values on the action page). this should ensure unique form field names which should prevent auto-population. On Wed, Nov 4, 2009 at 7:40 AM, Robert Harrison <robert@...>wrote: > > I'm having issues with Firefox filling in my UserID and Password fields on > a > log-in form (present on every page). I want the fields be clear empty, so > the question is: > > How do I override Firefox and clear the form fields? > > Here's what I've tried so far: > > 1. Changed field names (no effect). > 2. CFINPUT Value="", no effect. CFINPUT Value=" " works, but in the > password field it show the space. > 3. Added a clear_form JS function and OnLoad of the page I clear the > fields. That works OnLoad, but if you hit the > back button in the browser the OnLoad script does not run > and the fields are filled in again.. > > Any ideas? > > Thanks, > Robert > > > Robert B. Harrison > Director of Interactive Services > Austin & Williams > 125 Kennedy Drive, Suite 100 > Hauppauge NY 11788 > P : 631.231.6600 Ext. 119 > F : 631.434.7022 > http://www.austin-williams.com > > Great advertising can't be either/or. It must be &. > > Plug in to our blog: A&W Unplugged > http://www.austin-williams.com/unplugged > > > > > > __________ Information from ESET Smart Security, version of virus signature > database 4573 (20091104) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328000 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
LIST SPEEDI'm getting list email something like 90 minutes after it's sent. Is that normal? Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged __________ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __________ The message was checked by ESET Smart Security. http://www.eset.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328004 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Clear Fields In FirefoxTurn off the remember password features in your Firefox options! Oh, I mean... As the programmer of the site, how do I keep the fields clear for users who are on Firefox? Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged -----Original Message----- From: Ian Skinner [mailto:hof@...] Sent: Wednesday, November 04, 2009 11:55 AM To: cf-talk Subject: Re: Clear Fields In Firefox Robert Harrison wrote: > How do I override Firefox and clear the form fields? Turn off the remember password features in your Firefox options! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328007 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Clear Fields In FirefoxRobert Harrison wrote: > Turn off the remember password features in your Firefox options! > > Oh, I mean... As the programmer of the site, how do I keep the fields clear > for users who are on Firefox? > I guess you then use one of the techniques mentioned elsewhere.... but why do you, as the programmer, get to override my, as the user, preferences. If I tell my Firefox to remember a password, I suspect I will be peeved by a site that prevents me from using my desired feature. But your millage may vary. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328008 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Clear Fields In FirefoxOne reason could be Corporate policy. I know one company for sure that will not be named that has a policy that states that user id and password fields will be blank. Even though they lock down the browser not to auto populate, some people could still get past it. Then for some reason, the powers that be always go for the programmers. Just one possibility. Steve -----Original Message----- From: Ian Skinner [mailto:hof@...] Sent: Wednesday, November 04, 2009 12:39 PM To: cf-talk Subject: Re: Clear Fields In Firefox Robert Harrison wrote: > Turn off the remember password features in your Firefox options! > > Oh, I mean... As the programmer of the site, how do I keep the fields clear > for users who are on Firefox? > I guess you then use one of the techniques mentioned elsewhere.... but why do you, as the programmer, get to override my, as the user, preferences. If I tell my Firefox to remember a password, I suspect I will be peeved by a site that prevents me from using my desired feature. But your millage may vary. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328010 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
RE: Clear Fields In Firefox> I guess you then use one of the techniques mentioned elsewhere.... but why do you, as the programmer, get to override my, as the user, preferences. It's a security issue. The users of site a very wealthy (and not necessarily tech savvy) home-owners, generally with several homes. When they log-in to this site they get access to the security systems in their home(s). They can turn alarms on and off, unlock gates and door, turn lights on and off, heat up their pool and sauna, etc. Does that make sense? Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be &. Plug in to our blog: A&W Unplugged http://www.austin-williams.com/unplugged __________ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __________ The message was checked by ESET Smart Security. http://www.eset.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328011 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Clear Fields In FirefoxDURETTE, STEVEN J (ATTASIAIT) wrote: > One reason could be Corporate policy. > > I know one company for sure that will not be named that has a policy > that states that user id and password fields will be blank. > > Even though they lock down the browser not to auto populate, some people > could still get past it. Then for some reason, the powers that be > always go for the programmers. > > Just one possibility. > > Steve And I presumed that this, or something very similar, was the driving force behind the original question. And, unfortunately, the main problem with your scenario is the powers that be going for the programmers - who only have an illusion of control, rather then the employees who are breaking the policy. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328013 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Clear Fields In FirefoxRobert Harrison wrote: > It's a security issue. Fine, just realize that it is only an *illusion* of security. /Anything/ you do on the server can be overridden by the client. And the sort of users who you really want to protect from, are the sort of users who are going to know how to circumvent anything you can send form the server. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328015 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Clear Fields In FirefoxI've always had an idea of randomizing a form element's name and passing that random name to the following page to force the browser to not autocomplete the information (it can't pre-populate if it's never seen the form name before). I've never actually worked out how to do this mainly because I've never had to but I don't think it's very hard. Perhaps randomize the username field and then have a hidden field named "username" and have the value as the "real" username element's random name so you have access to it. Just an idea. On Wed, Nov 4, 2009 at 12:55 PM, Ian Skinner <hof@...> wrote: > > DURETTE, STEVEN J (ATTASIAIT) wrote: > > One reason could be Corporate policy. > > > > I know one company for sure that will not be named that has a policy > > that states that user id and password fields will be blank. > > > > Even though they lock down the browser not to auto populate, some people > > could still get past it. Then for some reason, the powers that be > > always go for the programmers. > > > > Just one possibility. > > > > Steve > > And I presumed that this, or something very similar, was the driving > force behind the original question. And, unfortunately, the main > problem with your scenario is the powers that be going for the > programmers - who only have an illusion of control, rather then the > employees who are breaking the policy. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328016 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Clear Fields In FirefoxAlso, javascript can probably clear the fields if you just want them to be blank, of course javascript can be turned off, but it's an alternative. Not sure if you mean the form is autocompleting or just pre-populating. On Wed, Nov 4, 2009 at 10:40 AM, Robert Harrison <robert@... > wrote: > > I'm having issues with Firefox filling in my UserID and Password fields on > a > log-in form (present on every page). I want the fields be clear empty, so > the question is: > > How do I override Firefox and clear the form fields? > > Here's what I've tried so far: > > 1. Changed field names (no effect). > 2. CFINPUT Value="", no effect. CFINPUT Value=" " works, but in the > password field it show the space. > 3. Added a clear_form JS function and OnLoad of the page I clear the > fields. That works OnLoad, but if you hit the > back button in the browser the OnLoad script does not run > and the fields are filled in again.. > > Any ideas? > > Thanks, > Robert > > > Robert B. Harrison > Director of Interactive Services > Austin & Williams > 125 Kennedy Drive, Suite 100 > Hauppauge NY 11788 > P : 631.231.6600 Ext. 119 > F : 631.434.7022 > http://www.austin-williams.com > > Great advertising can't be either/or. It must be &. > > Plug in to our blog: A&W Unplugged > http://www.austin-williams.com/unplugged > > > > > > __________ Information from ESET Smart Security, version of virus signature > database 4573 (20091104) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328019 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
|
|
Re: Clear Fields In FirefoxOn Wed, Nov 4, 2009 at 12:39 PM, Ian Skinner <hof@...> wrote: > > Robert Harrison wrote: > > Turn off the remember password features in your Firefox options! > > > > Oh, I mean... As the programmer of the site, how do I keep the fields > clear > > for users who are on Firefox? > > > > I guess you then use one of the techniques mentioned elsewhere.... but > why do you, as the programmer, get to override my, as the user, > preferences. > > If I tell my Firefox to remember a password, I suspect I will be peeved > by a site that prevents me from using my desired feature. > > That's why I roll with da RoboForm, you will never keep me from autoComplete ;-) Oh, well I guess you could if you use flash login form, dam I hate those. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328026 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4 |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |