![]() |
Two Conditionals
I know there's a way to do a checksum of two conditionals but I don't know the syntax. Could someone point me in the right direction?
If I'm as clear as mud on my description please PM me!! |
Sorry but don't really understand. Please try to give an example.
|
actually, the logic would be
Code:
if((X*Y) == (Y-A)) { $do = 'Z'; } |
Quote:
Condition #2 Field6 = Component (Active Duty, Reserve, Retired, Veteran, Spouse, Parent) If Field5 = True and Field6 = Spouse Then post Spouse.gif If Field5 = True and Field6 DOES NOT = Spouse $post[field5].gif Does that explain what I'm after a bit better? |
So if field5 is true, then you want to show an image with the name "$post[field5].gif" (asuming the 5 is a typo and should be field6?)
|
Quote:
Marco here is what I have: field5 is a single selection drop down with 5 options: Marine Corps, Army, Air Force, Navy, Coast Guard field6 is a single selection drop down with 6 options: Active Duty, Reserve, Retired, Veteran, Spouse, Parent Currently my postbit_legacy is as follows for those specific fields: Code:
<div align="center" class="smallfont"> and where [field6] was would reflect the branch of service In short if SPOUSE is selected in field6 I want the conditionals above swapped!! |
Is this what you want?
HTML Code:
<div align="center" class="smallfont"> |
All times are GMT. The time now is 05:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|