Looking for a verb for...
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Looking for a verb for...
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.
Suggestions?
EDIT: Sorry, not to check the submission of a form...to check if a form has been submitted.
Last edited by Ollie Saunders on Tue Oct 17, 2006 9:03 am, edited 1 time in total.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
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.
I've got this code:
Code: Select all
if ($form->isSubmitted()) {- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
What a weird question! How about tested and untested. Even better how about a boolean...
Code: Select all
if($form->validated)- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
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()) {(#10850)
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Its not whether it has been validated or not, its whether it has been submitted or not.bokehman wrote:What a weird question! How about tested and untested. Even better how about a boolean...Code: Select all
if($form->validated)
Hmm, yes. I'm going to give this some thought.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()) {
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK