On Monday, June 12, 2017 at 2:59:42 PM UTC-4, Brendan Barnwell wrote:
>
> You can put anything that would go on a full page (including any form) in 
>> an Ajax component. Forms in components are submitted via Ajax (they are no 
>> less "real" than forms loaded in full pages), and only the component itself 
>> refreshes upon submission. It is not quite clear what else you are looking 
>> for.
>>
>>
> To give a concrete example, one thing I long for is client-side versions 
> of all the validators that are validating based only on the form (that is, 
> the "shape") of the data.  A validator for something like a phone number or 
> email address is just looking at the textual structure of the data, and it 
> would be nice for that to be done client side and show a nice error ("enter 
> a valid email" or whatever) before the form is ever submitted.  This would 
> not replace server-side validation, and some kinds of checks can only be 
> done server side (e.g., if you want to make sure the address is not just 
> syntactically valid but actually exists in the DB).  But having client-side 
> validators built in (and known to be equivalent/compatible with the 
> server-side ones) would be really nice.
>

Got it, but that's not what you described in your previous post. web3py 
will likely work more like 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to