Re: [OT] Javasript Help
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66859
interpreted = N
texte = The following did not work for me. Are able to work the code with a positive number?Bill
-----Original Message-----From: Donovan Brooke
Sent: Thu, 13 Apr 2006 18:45:30 -0500To: "WebDNA Talk" Subject: [OT] Javasript HelpHello,I have a very simple javascript that I need to edit, but myjavascript is pretty bad.Here it is:ONBLUR="javascript:if(!validate(this.value, '^[0-9]{0,}[.]{0,}[0-9]{0,}$', 'is not a valid number.')){this.focus();}"This basically prompts a message to the user if they addsomething besides a number. However, I want to be able toadd negative numbers. (-26.5). How would I allow the "-"?Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
The following did not work for me. Are able to work the code with a positive number?Bill-----Original Message-----From: Donovan Brooke Sent: Thu, 13 Apr 2006 18:45:30 -0500To: "WebDNA Talk" Subject: [OT] Javasript HelpHello,I have a very simple javascript that I need to edit, but myjavascript is pretty bad.Here it is:ONBLUR="javascript:if(!validate(this.value, '^[0-9]{0,}[.]{0,}[0-9]{0,}$', 'is not a valid number.')){this.focus();}"This basically prompts a message to the user if they addsomething besides a number. However, I want to be able toadd negative numbers. (-26.5). How would I allow the "-"?Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
devaulw@onebox.com
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Add a field to the error log? (1997)
Nesting WebDNA in JavaScript (2003)
Getting total number of items ordered (1997)
Date problems-more (1997)
WC Database Format (1997)
4.0 send email ticks. . (2000)
Problems with webcat 2.01 for NT (1997)
Download Question (1997)
WebDelivery downloads alias, not original ? (1997)
Emailer setup (1997)
Passing form variables to new window created by JavaScript (2001)
SET (1998)
Search bug. Help (2002)
Formulas.db (1997)
Bug? (1997)
Server slowing down. (1997)
Help name our technology! I found it (1997)
[HIDEIF] inside [FOUNDITEM] (1997)
[ConvertChars] problem (1997)
multi-paragraph fields (1997)