Re: Clear Fields In Firefox
Also, 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 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=89.70.4
Re: Clear Fields In Firefox
I'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 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=89.70.4
Re: XML POST with Coldfusion
Sorry, I copy pasted the wrong line (the emai didnt send from my phone)... It actually looks like that PHP code just creates a curl (http post) message to their server. Sorry if it's a silly question, but can you just do post's to their server in a loop? -Ramon Ecung II, BS, ACHDS, MCP ~| 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:327733 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: XML POST with Coldfusion
I need someone to develop a coldfusion script that will communicate to a server/service using XML POST. Sorry if it's a silly question, but can you just do post's to their server in a loop? -Ramon Ecung II, BS, ACHDS, MCP ~| 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:327732 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Getting last inserted record from database
Be careful if you do this, oracle and some others reuse deleted IDs if you don't use sequences. Using cftransaction and querying for the data you just input would be my suggestion. Actually, if you can using a sequence would probably be best if you have access to them. --Original Message-- From: Brian McCairn To: ColdFusion Mailing List ReplyTo: ColdFusion Mailing List Subject: Re: Getting last inserted record from database Sent: Oct 26, 2009 3:09 PM select the max id straight after the insert and wrap it all in cftransaction tags ~| 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:327701 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
multi-database code
Just curious how others handle making their programs capable of being run on multiple databases. I'm currently running Oracle XE and MySQL and I want to develop my next application for both databases mainly for the experience, but also so I can learn more about the differences between MySQL and Oracle. My main thought on this was to create two functions in my cfc for every where/transaction I need (one for Oracle, one for MySQL) and just have a variable in my allplication.cfc that tells the code which function to call. Is this the best way? Does anyone else have experience doing something like this? -Ramon Ecung II ~| 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:327652 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4