Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Another Form Problem....

  1. #1
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default Another Form Problem....

    I copied pretty much this form from NOF v10....but it seems to behave differently in NOF 2015.

    In particular, if I simply pressed submit, in NOF10 it would list every field error...here it doesn't.
    I also have particular problem with Date of Birth and telephone number, despite pattern matching (see attached) they still accepts any old format.

    http://www.libertybs.co.uk/clients/a...t/contact.html

    I have never ever had problems with forms before!!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Telephone.JPG 
Views:	156 
Size:	38.4 KB 
ID:	2362   Click image for larger version. 

Name:	Date_of_Birth.JPG 
Views:	147 
Size:	40.5 KB 
ID:	2361  

  2. #2
    Banned EtienneC's Avatar
    Join Date
    Jul 2010
    Location
    Doylestowm, PA
    Posts
    324

    Default

    You only need to include PhoneNumber validation option (not PhoneNumber and PatternMatch).

    For PhoneNumber, edit the parameter Format to the following:
    ddddd ddddd


    PatternMatch could be used as an alternative and expects a Javascript regular expression.

    For example, your phone number might resemble the following:
    [0-9]{5}\ [0-9]{5}

  3. #3
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default

    Thank you - didn't realise I had to know javascript(!) Will try that....NOF10 didn't need it!

    Also, how can I control the tabbing order of each box?
    thanks

  4. #4
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    1,959

    Default

    yes the old days of the ? help item are gone, now you need to figure it out yourself

    btw, form validating of phone numbers is silly

    because different countries have different phone specs, so I won't be able to fill in your form, only UK people will be able
    Last edited by antonsvideo; 02-17-2016 at 06:23 AM.

  5. #5
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default

    The website is only ever going to be used for people within the UK!!
    Same with Date of Birth - so dd/mm/yyyy format.

    Inserted a different contact form and nearly there, apart from where the cursor lands initially and then tabbing to next field upon enter.
    see: http://www.academyhb.co.uk/Contact/contact.html

    Ah...found tabbing order...right click field.
    Things is they are all in correct order but don't seem to work.
    eg I want the initial cursor on name rather than have to manually place it there.
    then, if I enter name it should go to Date of Birth, but instead it 'red boxes' telephone and email and cursor goes to email!
    Last edited by gprit; 02-17-2016 at 07:54 AM. Reason: update

  6. #6
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default

    Well, they were definitely in the right tab order but the order did not work!
    This was via a template. I deleted the form and created a new one from the start....all tabs fine now, so it must have been the order of creation of each box by the originator, which took precedence regardless of the tab order.

  7. #7
    Senior Member
    Join Date
    Apr 2010
    Location
    Sydney
    Posts
    1,959

    Default

    did you check the action tab, Object ID of each form field, what numbers were they in?

  8. #8
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default

    Checked everything(!)......gave up in the end and decided to use a very nice third party from https://app.emailmeform.com/
    The 'free' can be removed by editing the html....it has a Captcha, AND can be marked to be responsive.....

  9. #9
    Banned EtienneC's Avatar
    Join Date
    Jul 2010
    Location
    Doylestowm, PA
    Posts
    324

    Default

    You can change the tab order for form controls in NOF.

    From Design View, select one of the form controls (e.g. edit field). Right-click the mouse and select the item labelled Tab Order.

    A dialog will appear that permits you to change the order by highlighting an entry and using the arrows in the lower left corner.

  10. #10
    Senior Member gprit's Avatar
    Join Date
    Dec 2010
    Location
    France...ex UK
    Posts
    595

    Default

    I did try that...I could see the tab order in a list and also as little blue boxes by each field....all correct.....but it simply did NOT tab in that order.
    That's why I now use the (free) emailme form, which is very easy and flexible to use, and gives a nice message format to the recipient.

Posting Permissions

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