Try this. Let's say the textarea field is "the_text".
if 'the_text' in request.vars: your_form.vars.type = process(...) if your_form.accepts(requrest.vars, session): # do your things On Nov 30, 10:59 am, hswolff <[email protected]> wrote: > I'm developing an application with web2py that asks a user to submit > text in a textarea, and after the user hits submit I want to parse the > input and assign a 'type' to the submission depending on the frequency > of a word used from the submitted text. >

