Custom code inside SUBMIT button

QuestionsCustom code inside SUBMIT button
Ante asked 12 years ago

Hello,

is it possible, when i add or change some record in table, when i click SUBMIT button, to add some custom code. For example, if i enter date of my birthday, when i click SUBMIT, in other field i will get datediff result depending on today's date.

Hope this is not a problem.

Regards,
Ante

1 Answers
Abu Ghufran answered 12 years ago

Hi,

For such case, best would be to write your own PHP side, on_update or on_insert code, where you can have your own business logic of add or update. This could be changing field's data or updating multiple tables, as per your business case.

This feature (custom-events) is available in premium package.

If interested, please visit this link to initiate process.
http://www.phpgrid.org/download/ -> Want to Buy

Your Answer

1 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?