Hello, I need your opinion. I have decided that simple web sites for
my customers will be done in plain static HTML served directly by
Apache, without any web framework. To handle the situation when forms
are required (e.g. contact pages), I'd like to have a service running
server side that validates data coming from forms.

On form submit, an ajax call to the service will be issued: if
submitted datas are invalid the server has to reply with a json
response pointing out the problem, otherwise incoming data will be
stored into db and the user is redirect to the thanks page. Is it
possible to do a such thing using web2py, and maybe have it to be
multisite?

site1
    form action="http://service/site1/contact";
site2
    form action="http://service/site2/contact";
    form action="http://service/site2/survey";
etc.

It seems that now a lot of 3rd party form validation services already
exist (jotform, wufoo and many others...), but I'd like to have my
own. I don't want to be able to "design" my form layout, just data
validation. I'm interested in your opinion on feasibility!

Many thanks,
best regards.

Reply via email to