+ Reply to Thread
Results 1 to 13 of 13

Thread: Insuring Text is entered in Text Box
      
   

  1. #1
    TonySC is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Insuring Text is entered in Text Box

    I have a page with 4 simple Text boxes, First Name, Last Name, Phone # and Email Address. Each text box is selected in the Validate Tab as being required. Each box has a Custom Error message assigned. At the bottom of the page I have two menu bars, for selecting two options which take you to the another page depending on which menu bar you selected. This all works.
    What does not work is that I can enter the page, type no text in any of the boxes, select one of the menu bar options and it takes me to the next page for that option.

    What do I have to do to make sure data is entered in the Text boxes and that selecting the menu bar does not take me to the next page and does display which Text box or boxes are missing data?
    Thanks,
    TonySC

  2. #2
    D'son's Avatar
    D'son is offline Major General
    Join Date
    Apr 2008
    Location
    Illinois
    Posts
    2,580

    Default Re: Insuring Text is entered in Text Box

    Check that you did not name your form with spaces in the name, it will nullify the validation.

  3. #3
    TonySC is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Re: Insuring Text is entered in Text Box

    Form name is "front-airport-reservation" which I think is a legal name.
    TonySC

  4. #4
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Insuring Text is entered in Text Box

    Best to use the underscore_character with no white spaces before or after.

    A link would help................

  5. #5
    TonySC is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Re: Insuring Text is entered in Text Box

    Okay, this may seem really stupid, but this problem of not validating that text has been entered has been driving me nuts for 4-5 days. The link to the first page that I have that has the problem is http://www.aikenlimousine.com/front-...eservation.php. I used a couple of Menu Bars at the bottom of the page to get me to the next page based on the selection. The reason is I could not figure out, using a Submit button where to place a URL pointing to the next page. When I look at the properties of the Submit button there is no place to enter a URL. I think this is why I am not getting any text vaildation.
    If I stick a Submit button in, I want to know exactly, and I mean exacty how to get it to point to the next selection page.
    TonySC

  6. #6
    TonySC is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Re: Insuring Text is entered in Text Box

    Opps, I am so frustrated I can hardly type.
    The link is http://www.aikenlimousine.com/front-...eservation.php
    TonySC

  7. #7
    navaldesign's Avatar
    navaldesign is online now General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    Default Re: Insuring Text is entered in Text Box

    Maybe i have not understood: where is your submit button??

    You do have the two buttons, but they are not submit buttons, they are simply menu buttons taking directly to the next form page (whatever that is), without any form submission (??)

    Please correct me if I'm wrong
    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!


  8. #8
    TonySC is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Re: Insuring Text is entered in Text Box

    NavalDesign,
    I have no "Submit" Button because I could not figure out how to get the Submit button to go to the next page. As I stated, when I look at the properties a Submit Button on a Form, I could not find any area that would allow me to send that particular form anywhere. That's why I asked to explain exactly what to do, when placing a Submit button.

    Okay, I have a page with a form on it. I place the Submit button in the Form area, name if I want to, have Submit selected and hit okay. Now how do I notify the Submit button, that when selected, where to go? The second part to the question is, will this validate that information has been entered?
    TonySC

  9. #9
    Join Date
    Mar 2006
    Location
    Mallorca, Spain
    Posts
    6,313

    Default Re: Insuring Text is entered in Text Box

    I think that Navaldesign's multi part form would do the trick......(tips & tricks)

  10. #10
    TonySC is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Re: Insuring Text is entered in Text Box

    David,
    I have looked at that Tutorial, probably 20 times and completely read it and have printed it. The answer maybe obvious to you but not to me. Again, if I place a Submit button in the form area, how do I inform the Submit button, if selected, where to go?
    TonySC

  11. #11
    navaldesign's Avatar
    navaldesign is online now General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    Default Re: Insuring Text is entered in Text Box

    Quote Originally Posted by TonySC View Post
    NavalDesign,
    I have no "Submit" Button because I could not figure out how to get the Submit button to go to the next page. As I stated, when I look at the properties a Submit Button on a Form, I could not find any area that would allow me to send that particular form anywhere. That's why I asked to explain exactly what to do, when placing a Submit button.

    Okay, I have a page with a form on it. I place the Submit button in the Form area, name if I want to, have Submit selected and hit okay. Now how do I notify the Submit button, that when selected, where to go? The second part to the question is, will this validate that information has been entered?
    TonySC
    There is no validation because you are not submitting, you are simply clicking on a link that takes you to another page. It will validate when a submit button is used.

    Where the form sends the data doesn't depend on the submit buttons, but on the form action, as typed in the "action" field.

    To redirect to different forms (for step 2) you need to embed two radio buttons (one for each case) instead of the two buttons you had, and some javascript code that will dynamically change this "form action" depending on user input. But some experience is required to embed this in a BV form, as it is not a simple drag and drop procedure.
    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!


  12. #12
    TonySC is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Re: Insuring Text is entered in Text Box

    NavelDesign,
    Well finally, I maybe getting somewhere. In my form Action box I have the following: <?echo($_SERVER['PHP_SELF'])> and it was in a mode where you can not change it. I un-checked the Form Processing Box for using PHP and all of a sudden, I can enter something in the Action Box. Now my question would be what should I enter and I believe I then must recheck the PHP box, save it and republish it, is this correct?
    TonySC

  13. #13
    navaldesign's Avatar
    navaldesign is online now General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,053

    Default Re: Insuring Text is entered in Text Box

    Quote Originally Posted by TonySC View Post
    NavelDesign,
    Well finally, I maybe getting somewhere. In my form Action box I have the following: <?echo($_SERVER['PHP_SELF'])> and it was in a mode where you can not change it. I un-checked the Form Processing Box for using PHP and all of a sudden, I can enter something in the Action Box. Now my question would be what should I enter and I believe I then must recheck the PHP box, save it and republish it, is this correct?
    TonySC
    Hi tony,

    no, this is not correct. The "action" of this form MUST be the second form (as it is described in the Multipage Form Tutorial)

    The action of the second form must be the third one, and so on.

    Of course, you must NOT check the "Use built in Form Processor" checkbox.
    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!


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