Results 1 to 13 of 13

Thread: Forms not working properly
      
   

  1. #1
    Albi009 is offline Sergeant
    Join Date
    Jun 2010
    Posts
    39

    Default Forms not working properly

    Hi guys,
    I have created forms in my website. Instead of making- data required it is still allowing submitting form blank. Could any one can suggest the solution.
    Thanks in advance
    Albi
    http://www.amacadvice.com/assessment_form.php

  2. #2
    WSBlue's Avatar
    WSBlue is offline Brigadier General
    Join Date
    Apr 2006
    Posts
    1,416

    Default Re: Forms not working properly

    Have you set Data Length?
    Check Data Required at least for Minimum.

  3. #3
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Forms not working properly

    Your form is named "Assessment form"

    Change it to "Assessment_form". No whitespaces are allowed.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  4. #4
    tabassum is offline Private
    Join Date
    May 2010
    Posts
    2

    Default Re: Forms not working properly

    Hi Sir,
    I have created forms into my website. After submitting form this error message

    Warning: file_get_contents(./error.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/albiasin/public_html/emp-form.php on line 11
    Kindly any one of you expert people help me to solve this issue, please visit this link to understand the problem more easily thank you all. http://www.albiasint.com/emp-form.php

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Forms not working properly

    The error message means that some error is encountered in your form submission, and the processor tries to report it through the "error.html" page.

    Did you create and publish this page ?
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  6. #6
    Albi009 is offline Sergeant
    Join Date
    Jun 2010
    Posts
    39

    Default Re: Forms not working properly

    Thanks guys for response. There is no white space in Forms. I named them
    assessment_form, contact_us
    For Text editbox it doesnot ask minimum length or maximum length. I put the constraint also- like for phone number- number constrain.
    Besides this i have ticked- error message, data required and disallow first choice.

  7. #7
    WSBlue's Avatar
    WSBlue is offline Brigadier General
    Join Date
    Apr 2006
    Posts
    1,416

    Default Re: Forms not working properly

    Quote Originally Posted by Albi009 View Post
    Thanks guys for response. There is no white space in Forms. I named them
    assessment_form, contact_us
    For Text editbox it doesnot ask minimum length or maximum length. I put the constraint also- like for phone number- number constrain.
    Besides this i have ticked- error message, data required and disallow first choice.
    Click Right at Edit box > Properties > Validate (Data Length for Minimum is there)

  8. #8
    Albi009 is offline Sergeant
    Join Date
    Jun 2010
    Posts
    39

    Default Re: Forms not working properly

    Quote Originally Posted by WSBlue View Post
    Click Right at Edit box > Properties > Validate (Data Length for Minimum is there)
    Thanks for prompt reply.I checked and filled. It says maximum length.I filled it but still not working properly.It is allowing users to submit form without filling it

  9. #9
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Forms not working properly

    @ Albi009:

    your assessment form NAME contains white spaces. The following is taken from your page code:

    <formname="Assessment form" As you see there IS a white space between "Assessment" and "form"

    Your contact form instead has TWO whitespaces:

    <formname="Contact us " one between "Contact" and "us" and one at the end of the name.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  10. #10
    WSBlue's Avatar
    WSBlue is offline Brigadier General
    Join Date
    Apr 2006
    Posts
    1,416

    Default Re: Forms not working properly

    Quote Originally Posted by Albi009 View Post
    Thanks for prompt reply.I checked and filled. It says maximum length.I filled it but still not working properly.It is allowing users to submit form without filling it

    Click Right at Edit box > Properties >
    Under Validate Page (Data Length for Minimum is there)
    of course, the form can be submitted if No Minimum required.

  11. #11
    Albi009 is offline Sergeant
    Join Date
    Jun 2010
    Posts
    39

    Default Re: Forms not working properly

    Quote Originally Posted by navaldesign View Post
    @ Albi009:

    your assessment form NAME contains white spaces. The following is taken from your page code:

    <formname="Assessment form" As you see there IS a white space between "Assessment" and "form"

    Your contact form instead has TWO whitespaces:

    <formname="Contact us " one between "Contact" and "us" and one at the end of the name.
    Hi,
    I corrected that field also now it is not submitting. When i click on submit button it is still. Please help me. Thanks in advance

  12. #12
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Forms not working properly

    Your form doesn't work because you have added an Event to the Submit button.

    onclick="ShowObject('', 1);

    Not only, but it is also wrong as there is no target for the event.

    REMOVE the event from the submit button.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  13. #13
    Albi009 is offline Sergeant
    Join Date
    Jun 2010
    Posts
    39

    Default Re: Forms not working properly

    Quote Originally Posted by navaldesign View Post
    Your form doesn't work because you have added an Event to the Submit button.

    onclick="ShowObject('', 1);

    Not only, but it is also wrong as there is no target for the event.

    REMOVE the event from the submit button.
    Thanks a lot Navaldesign. You are great. It is working now. Wowww Thanks Thanks Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49