Try our conversational search powered by Generative AI!

Secret Class for Xforms password field



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?



Apr 29, 2008 11:39
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   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
May 05, 2008 11:11

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!  

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.