HTML5 mark up attribute allowed??

Issues related to forms.
User avatar
bry
 
 
Posts: 263
Joined: Fri Jan 11, 2008 8:44 pm

Re: HTML5 mark up attribute allowed??

Post by bry » Mon Feb 05, 2018 10:46 pm

Hmm? It worked for you? Which browser?

User avatar
Pablo
 
Posts: 12202
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: HTML5 mark up attribute allowed??

Post by Pablo » Tue Feb 06, 2018 7:16 am


User avatar
bry
 
 
Posts: 263
Joined: Fri Jan 11, 2008 8:44 pm

Re: HTML5 mark up attribute allowed??

Post by bry » Tue Feb 06, 2018 1:24 pm

You are genius!

User avatar
bry
 
 
Posts: 263
Joined: Fri Jan 11, 2008 8:44 pm

Re: HTML5 mark up attribute allowed??

Post by bry » Tue Feb 06, 2018 1:29 pm

You are genius!
Can we download that form?

User avatar
Pablo
 
Posts: 12202
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: HTML5 mark up attribute allowed??

Post by Pablo » Tue Feb 06, 2018 2:15 pm

I have just use the settings I suggested in my previous reply.
One more thing you can try (for Default or Info Bubble):
/^(\()?\d{3}[\-]\d{3}[\-]\d{4}$/

User avatar
bry
 
 
Posts: 263
Joined: Fri Jan 11, 2008 8:44 pm

Re: HTML5 mark up attribute allowed??

Post by bry » Tue Feb 06, 2018 2:35 pm

In Validation, you used Mode Default, Data Type Custom? And you put just the expression in the Custom Regular Expression Value?

User avatar
Pablo
 
Posts: 12202
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: HTML5 mark up attribute allowed??

Post by Pablo » Tue Feb 06, 2018 3:26 pm

Image

User avatar
bry
 
 
Posts: 263
Joined: Fri Jan 11, 2008 8:44 pm

Re: HTML5 mark up attribute allowed??

Post by bry » Tue Feb 06, 2018 4:15 pm

YEAH!!!!!!!!!!! It works!!! Pablo, you are incredible!!!!!!!!!!!!!!!!!!!!!!!!!

http://www.test12.info/formtest

Thanks so much!! That is a great substitute for javascript. I would still love to be able to write an extension that would allow for insertion of javascript fields that could tab progress through the form. Maybe another genius will come along who can do it or help.

Baconfries, hint hint. :-)

User avatar
bry
 
 
Posts: 263
Joined: Fri Jan 11, 2008 8:44 pm

Re: HTML5 mark up attribute allowed??

Post by bry » Tue Feb 06, 2018 4:48 pm

BaconFries wrote:
Mon Feb 05, 2018 6:34 pm
bry always best to provide a url as a image doesn't help.
Baconfries, I am so sorry I just noticed this post of yours. Please forgive me for not responding. I highly prize any comment and suggestion you make and just didn't see this one. As I have mentioned, my eyesight is going. I am constantly shocked that I am not seeing things that are right in front of me. That combined with the recent gallbladder problems have me working very sub-par. Age is a troublesome thing. Just when you finally get a bit of wisdom about life, the tools to use it are worn out.

User avatar
bry
 
 
Posts: 263
Joined: Fri Jan 11, 2008 8:44 pm

Re: HTML5 mark up attribute allowed??

Post by bry » Tue Feb 06, 2018 11:33 pm

I just realized that the form is requiring a telephone number even though I do not have that checked. And more importantly, in my form, I cannot require the visitor to enter a telephone number each time. It is only when it is entered, that I want dashes. Can that be fixed??

thanks

User avatar
Pablo
 
Posts: 12202
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: HTML5 mark up attribute allowed??

Post by Pablo » Wed Feb 07, 2018 6:59 am

I'm sorry I do not have a standard solution for that.

User avatar
bry
 
 
Posts: 263
Joined: Fri Jan 11, 2008 8:44 pm

Re: HTML5 mark up attribute allowed??

Post by bry » Wed Feb 07, 2018 1:51 pm

I see. So using that Custom Regular Expression Value somehow overrides the fact that in the same Validate tab under Data Length Data Required is NOT checked (and there is no Minimum or Maximum either).

Do you think it is because the Custom Regular Expression Value comes last? Maybe if Data Length were last (under the Validate tab)???

It was still a brilliant effort.

Thanks

User avatar
Pablo
 
Posts: 12202
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: HTML5 mark up attribute allowed??

Post by Pablo » Wed Feb 07, 2018 2:01 pm

Correct. A custom regular expression overrides the built-in validation.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests