I usually start a forms template out by setting a cfparam for each form
field then I use #form.fieldname# as the value of that field.

So unless the form was submitted, the cfparam value is used to populate the
field (which by default is usually just default="")

I haven't made sure that overrides the autofill features of browsers but I
would THINK it would since it sets the value.
 
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 
 

-----Original Message-----
From: Rey Bango [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 09, 2006 7:14 PM
To: CF-Talk
Subject: Preventing auto-fill

Guys,

Is there a way to prevent a browser's autocomplete/autofill feature from 
  caching info on certain forms? For example, I don't want a credit card 
form field to be cached via autocomplete. The same with login prompts.

Anyone tackled this before?

Rey...



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228977
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to