The Toolkit for Online Communities
18823 Community Members, 0 members online, 1842 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Ad_form question for number

Forum OpenACS Development: Ad_form question for number

Icon of envelope Request notifications

Posted by Vince T on

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

Posted by tammy m on

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