Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#892 closed enhancement (fixed)

[patch] RegexpTextbox validated widget

Reported by: Michael Nachbaur <mike@…> Owned by: Adam Peller
Priority: high Milestone:
Component: Widgets Version: 0.2
Keywords: Cc: mike@…
Blocked By: Blocking:

Description

I found this necessary for my application to be able to strictly specify the format of values acceptable in my various form fields. This extends ValidationTextbox? and overrides the isValid method to pass the value through a supplied RegExp?.

Attachments (2)

RegexpTextbox.patch (2.0 KB) - added by Michael Nachbaur <mike@…> 13 years ago.
RegexpTextbox-test.patch (860 bytes) - added by Michael Nachbaur <mike@…> 13 years ago.
Test suite code

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by Michael Nachbaur <mike@…>

Attachment: RegexpTextbox.patch added

comment:1 Changed 13 years ago by bill

Cc: mike@… added
Summary: RegexpTextbox validated widget[patch] RegexpTextbox validated widget

Hi Mike. Can you file a CLA (http://www.dojotoolkit.org/icla.txt), and also update the testcase (test_Validate.html) to test this new functionality?

Thanks, Bill

Changed 13 years ago by Michael Nachbaur <mike@…>

Attachment: RegexpTextbox-test.patch added

Test suite code

comment:2 Changed 13 years ago by dylan

Milestone: 0.4
Owner: changed from anonymous to dylan

CLA on file, so it can be merged if the patch is still valid

comment:3 Changed 13 years ago by dylan

Status: newassigned

comment:4 Changed 13 years ago by Adam Peller

Owner: changed from dylan to Adam Peller
Status: assignednew

comment:5 Changed 13 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [5427]) RegexpTextbox? patch from Michael Nachbaur <mike@…> (CLA on file) Fixes #892

comment:6 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.