Results 1 to 2 of 2
  1. #1
    Casual Pligger ZeroHoursOfSleep's Avatar
    Joined
    Jul 2007
    Posts
    60
    Thanks
    Received:0
    Given: 0

    Form Appear on If Statement

    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.

  2. #2
    Casual Pligger ZeroHoursOfSleep's Avatar
    Joined
    Jul 2007
    Posts
    60
    Thanks
    Received:0
    Given: 0
    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.

Similar Threads

  1. php if statement in template file
    By ghi891 in forum Questions & Comments
    Replies: 2
    Last Post: 06-19-2010, 09:15 AM
  2. IF OR statement?
    By jasxon in forum Questions & Comments
    Replies: 1
    Last Post: 01-19-2008, 10:03 AM
  3. General 'if' statement question
    By aaronpais in forum Questions & Comments
    Replies: 1
    Last Post: 05-07-2007, 07:25 PM
  4. If statement for Categories 'All' in 9.0?
    By Korak in forum Questions & Comments
    Replies: 3
    Last Post: 01-01-2007, 01:31 PM
  5. Help with if then statement
    By canadapc in forum Questions & Comments
    Replies: 0
    Last Post: 08-03-2006, 03:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg