Using conditional statements adds unnessecary spacing on some text boxes
-
Hi,
On some text boxes I can use conditional statements depending on the member level and they work fine. However, other ones seem to add spaces/character returns where there are different options.For example, the below will just add a space if the [if] isn’t met. So when you log in as level 3, the sentence is half way down the box. Can anyone help?
[s2If current_user_is(s2member_level0)]This area will be enabled once your membership has been approved.[/s2If]
[s2If current_user_is(s2member_level1)]This area will be enabled once your membership has been approved.[/s2If]
[s2If current_user_is(s2member_level2)]This area will be enabled once your membership has been approved.[/s2If]
[s2If current_user_is(s2member_level3)]This area will be enabled once your membership has been approved.[/s2If]
[s2If current_user_is(s2member_level4)]This area will be enabled once your membership has been approved.[/s2If]
[s2If current_user_is(s2member_level5)]Renew/Upgrade my subscription from Associate to Member[/s2If]
[s2If current_user_is(s2member_level6)]No options available[/s2If]
[s2If current_user_is(s2member_level7)]Amend my billing details Cancel my subscription[/s2If]
[s2If current_user_is(s2member_level8)]You are a Director
Amend my billing details
Cancel my subscription
[/s2If]
- The topic ‘Using conditional statements adds unnessecary spacing on some text boxes’ is closed to new replies.