homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Scheduling Form Wont Submit:
html form, javascript form, web form, scheduling form

 12:49 pm on Jul 10, 2010 (gmt 0)


I'm editing a form I use on my website so my clients can make schedule changes. But since I've edited the form it will no longer submit the results anymore. You can view the form here:

The changes I made from the original were adding the text area with the text above it reading, "Add the daily walk schedule you'd like us to perform each day you're gone (example: 8amish 30 min, 1pmish 30 min, 6pmish 30 min and 10pmish 15m min)"

I can't figure out how to fix this and any help would be much appreciated.

Thank you!

[edited by: tedster at 8:34 pm (utc) on Jul 10, 2010]
[edit reason] I removed the personal URL [/edit]



 4:21 pm on Jul 10, 2010 (gmt 0)

Welcome to the forums, petsitterbiz.

Troubleshooting posts work better here if you can give us some of the aource code rather than asking people to visit the site. Others can spot problems more easily that way, and then after you fix the problem and the page changes, the thread here still has a helpful record for others to learn from far into the future.

The first thing I'd suggest is using the W3C Validator - HTML [validator.w3.org]
to make sure that there is no error in the source code that's interfering. Also double check the action= attribute of the <form>.

Beyond that, what exactly is happening when the form doesn't submit? Nothing at all, or an error mesage, or it looks like it works but you don't get anything on the back end?


 7:02 pm on Jul 10, 2010 (gmt 0)

Hi Tedster, thanks for the feedback and keep trying to submit my source code but it keeps saying "You have an error with one or more of your Style Code tags: 1" no matter if I disable codes or not.... to your other questions, the error message I'm getting when trying to submit the form is "notEmpty error" - the action code reads the following "action="formmail.php" and I found a whole bunch of issues after using the W3C Validator but could see how those sited were causing this problem. Thank you for your help, patience and please let me know if there's anything else I can provide:


 8:46 pm on Jul 10, 2010 (gmt 0)

You apparently have some javascript checks going on, to make sure that all the required fields are filled in, right? The "notEmpty" error sounds like something that this error checking script is kicking out.

You said you added a "textarea" - somehow that introduced a code error for the javascript check and it now sees an empty field. If you've got other input fields on the page, compare the code that works there to the code you just added.

If this is not javascript that you wrote but rather something you got from a third party, you may need to reach out to them if you are stumped for too long.


 9:05 pm on Jul 10, 2010 (gmt 0)

Hi, thank you so much, I'll check on what you've mentioned and post the out come. Thanks, J


 4:54 pm on Jul 12, 2010 (gmt 0)

"You have an error with one or more of your Style Code tags: 1"

This is because the code [ followed by i or b followed by ] conflicts with the code here. It's common for the letter i to be understood as a numeric incrementor. To post your code, look for "i" or "b" (less likely) in any Javascript sections, and change them like so:

for (j=0;j<some_variable;j++) {

The problem would be the "i" I've replaced with "j" in "some_array[j]".

Was wondering when this would create problems for someone who didn't understand the BBcode here . . . .

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved