What do you mean the form won't be accepted? Is it failing validation on the server when form.process() is called? Do you have an IS_STRONG validator defined? What is happening with the Ajax call in the browser? Please show some more code an explain exactly what is happening.
On Sunday, February 16, 2014 5:52:04 AM UTC-5, Avi A wrote: > > Hi, > I created a table with a password field. > I got an ajax (web2py component) form where a user fill the password, and > if it's OK, it does something. > It works fine, but the problem is that if I use for example "!" in the > password field , the form won't be accepted. > Is there a solution for that? I would like to allow any char that won't > break the javascript. > > db.define_table('t_orgs', > Field('f_org_name', type='string', > label=T('Organization Name')), > Field('f_org_code', type='password', > ....................... > > <p>Type your organization code:</p> > <input id="org_code_input" onkeyup="org_code_value(this.value)"> > > > $.web2py.component(url + '/' + org_code, 'org_form_target'); > > > Thanks. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.