Hi!
I'm learning how to use ad_form. It seems a bit complicated for me. I know ad_form is better for use with bd queries but I'm trying to use it as normal form.
So, this is the ad_form code:
" ...
ad_form -name ejemplo_form -method GET -action "http://voo2do.com/api/saveTask"; -form {
{taskdesc:text(text)
{label "Tarea"}
{html {size 35} maxlength 255}
}
{projName:text(select)
{label "Proyecto"}
{options $project_names}
}
{priority:text(select)
{label "Prioridad"}
{options $priority_options}
}
{estCurr:text(select)
{label "Estimacion"}
{options $estimation_options}
}
}
ad_form -extend -name ejemplo_form -form {
{submit:text(submit)
{label "Crear"}
}
}
... "
The form works, call the Action URL but it only use the first field (taskdesc). The 3-others fields appears to not be set.
What am I missing? I checked ad_form API, some code (cal-item-new) but I couldn't make it work. GET method only includes first field
Thanks in advance