+ Reply to Thread
Results 1 to 2 of 2

Thread: Forms - required fields
      
   

  1. #1
    PaulP is offline Master Sergeant
    Join Date
    Jun 2005
    Location
    France
    Posts
    60

    Default Forms - required fields

    Hi
    I have created a very basic contact form on my website in BV with a thank you page using the BV tutorials and the standard tutorial script in the action.php page .

    I have realised that it is not set up with required fields - ie; visitors to my site can leave out any field blank and still submit the form.

    I also notice that the two radio buttons for " existing client" and "new client" can both be selected.

    How can I correct this please?

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

    Default Re: Forms - required fields

    1. To make fields required, use BV's validation: double click on the field, select Validate, and choose from the options.
    Please note that if you only want to make fields required for normal visitors, that's ok. However, BV's validation is Javascript, and as such it will not validate if the user has his browser javascript disabled. This is why i usually prefer to have both Javascript validation AND php validation, in the script.
    2. The radio buttons need to have the same Group name, otherwise they are considered independent and therefore both selectable.
    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