Is there anyway of knowing the type of a form element? (input, textarea, select, checkbox, submit)
What i am doing is going through and listing all the HTTP_POST_VARS but i dont want to list the submit button.
Derek
Not that I know of.
If you know the name of the button is SUBMIT, then simple ignore that name as you are stepping through the variables?
Regards,
Richard Quadling.
That would be to easy and would have to make the submit button a specific name everytime. Looking for something that will work on any form without having to use a specific name for the submit button.