Forum OpenACS Q&A: Re: troubles with validation

Collapse
Posted by Anny Flores on
Hi Don,

The code goes like this:

if { *condition* } {
ad_form -extend -name form_name -validate {
  {var_name
  { *condition* }
    "Message"
  }
}

the problem is that even when the condition of the if statement is true, the validation doesnt work.
What I would like to know is if it can be done or I'm doing it
wrong.

          By the way,I saw you a few months ago in        Guatemala, I just want you to know.

Thanks for your help.