Form Appear on If Statement

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-14-2007, 07:26 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 60
Hey, sorry to post this here but I know there's a simple solution to this.

I use my login and registration from a sidebar module within the About box. I have my Log In and Register appear onclick.

Also, I have an IF statement that shows error messages on the sidebar. But, my problem is that i'd like to make my Login and Forgotten Password forms appear whenever there is an error message displayed . . . so, within the IF statment.

Anyone care to help me with the proper Script? I feel like I should use Effect.Toggle or Effect.Appear but I don't know how to "call" them within the HTML.

Please help end my frustrations! Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 09-14-2007, 07:44 AM
Casual Pligger
 
Join Date: Jul 2007
Posts: 60
OK, nevermind I figured it out myself.

I just included the entire code below the IF statement within the IF, and I erased the "display:none" from each of the form styles. This seems to be working fine.

But, please do let me know if you're reading this and know a better way.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[mod request] (re)captcha for ajax contact form? Rodney Questions and Comments 7 02-18-2011 11:02 AM
How to Avoid Spamming through Tell a Friend Form The Edifier Questions and Comments 4 12-28-2009 05:51 AM
Ajax Contact Form v0.1 ??? dragan Questions and Comments 10 04-24-2008 04:44 AM
Edit link form action="" revolver Questions and Comments 4 01-24-2007 12:30 AM
Problem form doesn't work! nabil Questions and Comments 1 04-01-2006 09:53 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development