Announcement

Collapse
No announcement yet.

How to use a condition with an option I created

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to use a condition with an option I created

    I created a Yes/No radio buttons option under "Edit Options" and it's field27. How do I get this condition to work in the MEMBERINFO template:
    HTML Code:
    <if condition="$userinfo[field25] AND $userfield[field27]==yes"><bgsound src="$userinfo[field25]" loop="-1"></if>
    I verified there was a midi playing without the " AND $userfield[field27]==yes" part. I also tried "$bbuserinfo[field27]". What did I do wrong?

  • #2
    Radio buttons don't have "yes" or "no" as settings, I don't believe. Pretty sure it's 0 for off and 1 for on.
    Fans of Reality TV

    Comment


    • #3
      Originally posted by TheEDIGuy
      Radio buttons don't have "yes" or "no" as settings, I don't believe. Pretty sure it's 0 for off and 1 for on.
      I looked in the database and they do. I assume they have whatever value you put.

      Edit: Oh doh nevermind. I didn't capitalize the "y". You can close this.
      Last edited by Dark Jim; Sun 25 Jan '04, 4:17pm.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X