On Friday, August 5, 2016 at 2:39:09 PM UTC-4, Richard wrote: > > So, what you ask, modifying validator and return a new select element with > new validations properties is not possible for now in web2py to my > knowledge... >
If you are making a separate Ajax request after the initial form has been loaded, you can change the validator associated with a particular field and return a new select element. > The consequences of this is that it is not possible to create a truelly > dynamic form with web2py as the form is created and processed server side... > I suppose what you mean by a "truly dynamic" form is one that requires Javascript and possible additional server communication (via Ajax or websockets). If so, that is possible in web2py, though web2py doesn't provide any built-in convenience methods to facilitate this. Anthony -- 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/d/optout.