The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Pre-Parser help needed - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Pre-Parser help needed (/showthread.php?tid=2334) |
Pre-Parser help needed - rvgulik - Jan 2nd, 2013 I want to do the following : I have 3 fields r_day_of_birth, r_month_of_birth and r_year_of_birth I want these 3 fields combined to ddmmyyyy and calculate the age. On top of this i want to calculate the age on a certain date : 1 september 2013. The calculated value should be put into a field called age. How do i achieve this??? Any help is very welcome. RE: Pre-Parser help needed - bills - Jan 7th, 2013 Hi, Take a look at this example...you can easily apply to your date question. http://modules.formtools.org/submission_pre_parser/index.php?page=combining_fields_example To calculate age on a specific date, take a look at this function: http://www.populate.it/age_on_date_php.html |