Jump to content

a nudge in the right direction? class based on record value?


Ansel_Tk1

Recommended Posts

Hi all - wondering if someone could give me an example. I would like to change the class of a div in a repeated region, based on the results of a field in the record. I have been using the conditional regions to display divs but cant figure out how to change the class of a div. I am using for the conditional regions:

 

if (@$row_security_directory_results['directory_listing_advertiselevel'] >= 3)

 

and it would be the same for the class change.

 

Thanks for any help you could give.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.