In have been trying to initialize a password field in a custom form using SQLFORM.factory, although I cannot initialize password type fields using form.vars['passfield'] = 'somevalue'. I am not using the registration form but instead am using a custom form that I want control over.
Setting the default in the Field constructor works, but that is not the way I initialize the other fields. This this a builtin feature of Password fields and/or their corresponding form widgets?