Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Mootools Ajax driven php login help
Old 10-03-2007, 02:37 PM Mootools Ajax driven php login help
Novice Talker

Posts: 12
Trades: 0
I am attempteing to modify the login I found at roscripts.com to accomodate my needs.

I got it to work fine by validating individually for each error and displaying a message.

the mootools and the javascript are working fine, I am having issues with my php code.

I would like to simplify and streamline the process so I put all the validations in functions and am adding the error messages to an array.

I then test if it has any errors and list them if any are present, but for some reason It does not function.

I am trying to implement this into a class I am working on so any help is appriciated

working version <- very clutered and not practical
php code

new version <- not cluttered and more streamlined, easier to update
php code

Last edited by stickybomb; 10-03-2007 at 03:05 PM..
stickybomb is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-04-2007, 09:53 AM Re: Mootools Ajax driven php login help
nickharper's Avatar
Extreme Talker

Latest Blog Post:
Testing this bad boy out!!!!!
Posts: 221
Name: Nick
Location: Coventry, UK
Trades: 1
They both look the same to me.

Looking good though
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

nickharper is offline
Reply With Quote
View Public Profile
 
Old 10-04-2007, 12:28 PM Re: Mootools Ajax driven php login help
Novice Talker

Posts: 12
Trades: 0
no the second one does not function. basically i am designing it to display an error message if the field does not contain appropriate data after it looses focus. try clicking in both fields
stickybomb is offline
Reply With Quote
View Public Profile
 
Old 10-06-2007, 11:15 PM Re: Mootools Ajax driven php login help
Average Talker

Posts: 22
Name: Paul
Trades: 0
I didn't notice anything. Was something supposed to happen?
__________________
Free Web Hosting Available At Simply Web Host

Please login or register to view this content. Registration is FREE
smithster is offline
Reply With Quote
View Public Profile Visit smithster's homepage!
 
Old 10-08-2007, 12:43 PM Re: Mootools Ajax driven php login help
Novice Talker

Posts: 12
Trades: 0
it dynamically validates your input try the first link to the working version enter some text in the fields
stickybomb is offline
Reply With Quote
View Public Profile
 
Old 10-08-2007, 01:24 PM Re: Mootools Ajax driven php login help
dansgalaxy's Avatar
Defies a Status

Posts: 6,522
Name: Dan
Location: Swindon
Trades: 0
The differance is in the code...
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to Mootools Ajax driven php login help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22564 seconds with 12 queries