When I extract the value of a form field, if I've written  for example
"take helmet", I get the value of field `take_helmet, why?
The code is as follows:

     form = FORM ('name risk',
                 INPUT (_name = 'name1', required = [IS_NOT_EMPTY (),
IS_UPPER ()]),
                 'preventive action Name:',
                 INPUT (_name = 'name2', required = [IS_NOT_EMPTY (),
IS_UPPER ()]),
                 INPUT (_type = 'submit'))
     form.accepts if (request.vars, session):
         session.flash = "Form sent"
         redirect (URL ('eliminar_prevencion_riesgos', args =
(form.vars.nombre1, form.vars.nombre2)))

When I look at the value of variables, form.vars.name1,
form.vars.name2, spaces between words are filled with the symbol '_'.
How I can fix this?

Reply via email to