CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Regular Expressions:
Joomla Component JUser


New User

Jul 1, 2008, 12:48 PM

Post #1 of 2 (8530 views)
Joomla Component JUser Can't Post

In the JUser component for Joomla, under Field Manager, you can select an entry and edit the details(ie required, length, etc.) there is also an available validation field that requires a perl compatible regular expression. I need to figure out how to formulate a perl expression to validate that field from table of numbers stored in mysql and from there direct the user to a group and complete registration. Any ideas?


Jul 3, 2008, 7:00 PM

Post #2 of 2 (8456 views)
Re: [mikemcclure] Joomla Component JUser [In reply to] Can't Post

So you need to check to see if a number is in a mysql table?

The regular expression is the wrong place to do that kind of validation. It's only meant for simple things like "Does this look like a phone number?" or "Is this a valid user name?", etc.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives