it sounds like something that you want to do in javascript.  search for how 
to write onSubmit methods for JS.  I personally like to use jQuery to help 
me select things and then create your validation.

On Thursday, October 25, 2012 2:41:35 AM UTC-7, Wouter Pronk wrote:
>
> Hello All,
>
> I have a form that looks similar to this:
> <form>
> <table>
> <tr><td><input name="N" value="123"/></td></tr>
> <tr><td><input name="N" value=""/></td></tr>
> </table>
> <input type="submit">
> </form>
>
> On submit I would like web2py to validate all values for name="N" and if 
> one is empty then give a response.flash like "line 2 is empty!".
> How can I accomplish this?
>
> Thanks, Wouter
>

-- 



Reply via email to