I was provided great help regarding uploading code, through this posting: Delete the temp file, if it is invalid
Much thanks again.
Now, however, because of this change the ‘Submit’ button currently shows “yes” - see attached ‘yes’ image.
How can I change it to something more appropriate like this - see attached ‘submit’ image.
But ultimately, I’d prefer to put an image over it, or in place of what’s there now. Can I do that by changing this line from the Upload Form?
If you’re using Drummin’s code from the thread you linked, then yes, it will work with Submit instead of yes - because Drummin’s code only checks to see that there is SOME value in $_POST['form_submitted'], not what the value is.
(Incidentally you almost never should use a submit field as the check for your form data, but thats another matter)
Thanks for your reply.
It that is true that “Drummin’s code only checks to see that there is SOME value in $_POST[‘form_submitted’], not what the value is”, then I would greatly appreciate some help with figuring out why when I change the value “yes” to the value “submit” (and select “submit”) that the next thing I see is a blank page, versus when I don’t change the value to ‘submit’ and select “yes”, the Form proceeds successfully?
I have no intention of getting into a debate on this matter, but the only time I have ever seen a submit input not available on POST is when the name attribute is missing.
It figures a non-standards-compliant browser issue.
Anyway, a text or hidden input field name can be used in this case. Processing condition needs to be the same as what’s in the form.