Home
The Toolkit for Online Communities
17514 Community Members, 3 members online, 2142 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

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?