Secret Class for Xforms password field

Vote:
 

Hi,

I know that the secret class is used for a password field in Xforms, but that Episerver doesn't implement this yet. Does anyone know of a way around this?

 

Thanks 

#19715
Apr 29, 2008 11:39
Vote:
 
Not sure if it will work, but if you press ctrl+shift+c when you are editing an xform, you will get the html for the xform. (see http://labs.episerver.com/en/Blogs/Allan/Dates/112230/3/Customizing-XForms-Appearance---The-Easy-Way/)   If you then edit the html by adding an <INPUT TYPE=password /> tag in the html and paste that back in the form, you'll get an password box. But, I haven't tried submitting the form Smile
#19776
May 05, 2008 11:11
Vote:
 

Found a way do what I want.

It involves handling the controls created event of the xform, looping through all the controls to find the one I want, then just adding the type = secret attribute to the control!  

#19797
May 06, 2008 13:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.