⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

calculate age using datepicker



Noel Calonia
  • profile picture
  • Member

Posted 16 September 2015 - 18:58 PM

hi guys, it is possible to calculate age in the grocery crud using datepicker? i search about it but the suggestions is to use callback_field(). then, i dont know how to get the value of the datepicker to perform calculation inside the controller. For example, when i click/enter a date at a datepicker, it automatically generate a age inside a input field.

hope you all answer this problem asap, any help, suggestions and ideas will much appreciate. Thanks in advance! :)