Page 1 of 1
Looking for a verb for...
Posted: Tue Oct 17, 2006 8:27 am
by Ollie Saunders
I'm looking for a verb meaning to check the submission of a form. "Submission check" is two words and so not acceptable.
Suggestions?
EDIT: Sorry, not to check the submission of a form...to check if a form has been submitted.
Posted: Tue Oct 17, 2006 8:53 am
by feyd
Validate(-ing), verify(-ing), check(-ing), process(-ing)...
Posted: Tue Oct 17, 2006 9:04 am
by Ollie Saunders
Initial post updated.
Posted: Tue Oct 17, 2006 9:10 am
by Chris Corbyn
Transmission? What context are you using it in? Why does it need to be one word?
Posted: Tue Oct 17, 2006 9:31 am
by feyd
Test(-ing), pulse(-ing), palpitate(-ing), sniff(-ing), etc..
Posted: Tue Oct 17, 2006 9:48 am
by Ollie Saunders
OK I'll be a little less enigmatic.
I've got this code:
Which not only returns whether the form has been submitted but also changes the state of $form from "
yet to have checked for existance of submission" to "
have checked for existance of submission". I want a short way of saying this in tutorials, so far I have used precheck and postcheck state but that's not very descriptive.
Posted: Tue Oct 17, 2006 10:21 am
by Ollie Saunders
Also can anybody think of a shorter name then attachEventHandler and detachEventHandler?
Posted: Tue Oct 17, 2006 10:30 am
by feyd
Lose Event or EventHandler.
Posted: Tue Oct 17, 2006 11:56 am
by bokehman
What a weird question! How about tested and untested. Even better how about a boolean...
Posted: Tue Oct 17, 2006 12:19 pm
by Christopher
Part of the problem is that you should probably split up the functionality (for clarity, concerns and testablity) into something like:
Code: Select all
$form->checkRequest();
if ($form->isSubmitted()) {
Posted: Tue Oct 17, 2006 12:32 pm
by Ollie Saunders
bokehman wrote:What a weird question! How about tested and untested. Even better how about a boolean...
Its not whether it has been validated or not, its whether it has been submitted or not.
arborint wrote:Part of the problem is that you should probably split up the functionality (for clarity, concerns and testablity) into something like:
Code: Select all
$form->checkRequest();
if ($form->isSubmitted()) {
Hmm, yes. I'm going to give this some thought.
Posted: Tue Oct 17, 2006 2:43 pm
by Ollie Saunders
OK thanks arborint, I decided to go with your idea. I'm using $form->initialize(), which solves my other problem too because it can be either uninitialized or uninitialized.