Forum OpenACS Development: Ad_form question for number

Request notifications

Collapse
Posted by Vince T on
Hello,

Been wondering how to implement a numeric datatype in ad_form of say 5 decimal places (eg. numeric(7,5) as defined for the postgres table).

Been searching all the ad_form docs but cant seem to figure it out..

Thanks in advance

Collapse
Posted by tammy m on
hmmm

do you "need" the new datatype or could you just rely on a -validate clause to enforce the numeric(7,5) format?