How and where I have to include this statement?
Where I tried, the program runs, it generates the PDF in Firefox and Chrome. In Opera when I return to the browse the window is frozen and in IE, nothing appears.
In the other browser the value of '$acao' is always the value of 'VALUE' button.
In IE the value of '$acao' is the value of 'Content' button.
If I do not set the 'Content' from the object, IE takes the value of 'VALUE'.
Do you have any other better way to do this?
Sorry to bother again.
I'll learn to use this class right with your help.
Manuel Lemos - 2012-06-28 02:42:06 - In reply to message 3 from flavio r
You should not be accessing global variable to check submitted values as the register globals functionality may be disabled and even when it isn't, the submitted values may not have been cleaned up by the forms class.
Use the WasSubmitted function instead. Pass the ID value of the form input you want to test.
flavio r - 2012-07-04 19:30:46 - In reply to message 6 from Manuel Lemos
Excuse the ignorance.
What is the difference when I call the program with a link and a button?
When I call the program for a button, '$form->WasSubmitted('')' returns nothing, but when I call for a link, it works.