Hello,
Recently I have coded some php working with FormIt and today when I work on this code I don't know how this was working (it was something about 2 months ago when I have coded this php section)
When the form has been submitted and when all the validation has succeeded I want to add some extra custom php code to save the data in the database
This is the php code I have written:
if ($ĥooks && $page == FORM_SUBMITTED_PAGE ){
// save data into datase
}
Today, "$hooks" is always empty! even when all the validation is OK
In the past it seems like $hooks was equal to 1 or some other sort of flag
I can't find this $hooks variable at any other place in my program
I can't remember, is this "$hooks" variable part of FormIt or is it me who coded this ?
It was working fine in the past !
Thank you for your help