I am using request.args[1] in a custom built form (not FORM helper).

[CODE]
<form id="frmDeptEdt" name="frmDeptEdt" method="post" action="">

Department <input type='text' id='deptnm' name='deptnm'
value='{{=request.args[1]}}' />

<input type='submit' value='save'
onclick="ajax({{=URL('mast','dept_save')}}, ['deptnm',
{{=request.args[1]}}, ''])" />

</form>
[/CODE]

The original argument is like this:  "human Resources department"
It gets formatted like this : "human_Resources_department"

If a FORM helper is used, this formatting is avoided.

How do I get the correct request.arg[1] in my custom form?

Thanks,
Vineet

Reply via email to