"Marc Lustig" <[EMAIL PROTECTED]> writes:

>Hi,
>has anybody tried to extend the validation functionality of Intake?

>I have a form that includes a postal-code and I need to do the following:
>- look up in a table if that code exists
>- if the code does not exist, the validation should fail
>- if the code exists, the corresponding city_name-field should be retrieved
>and put in the city-field of the object, that is mapped to my form

>Has anybody tried something like that?

>Princiaplly I see two view to do this:
>1) adding a <rule name="myvalidation"></rule>
>2) extending class IntakeTool to provide addtional custom methods

1) would be the correct way (IMHO).

        Regards
                Henning


-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [EMAIL PROTECTED]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to