Thanks for that Alan. Yes I realise that the server creates the form for the clientapi, my wording was not very good.
The as_json() and as_dict() methods looks useful, but still generates the HTML component for the various inputs which I would then have to pull the relevant information out of. It occurs to me that I could create a custom widget for the various fields which might be the way forward for me. I am unsure how this affects validation though. I have looked in the gluon/validators.py but I have not been able to follow how the form object is used to process the returned variables. I got as far as seeing a traverse method being called but didn't see how that called the individual validation methods. Also, is it possible to override the widget methods in SQLFORM rather than define custom widgets and have to then assign these widgets to every field in the models? -- --- 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.