close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Show Region Access Rule

Thread began 9/08/2012 6:13 am by Paul | Last modified 9/10/2012 8:02 am by Jason Byrnes | 1330 views | 1 replies |

PaulBeta Tester

Show Region Access Rule

Been failing miserably to setup a Show Region using SA's access rules.

I have a repeating table populating with 2 or more records each containing a single image.

I have a button assigned to each image against which i wish to apply a show region rule.

I have one condition, where the 'value' and 'compare to' values are taken from two recordsets.

When executed...

Whilst both values do not match, I want to use the rule to show a region.
I want the rule to hide the same region, if the values match

Currently, the rule is not showing my target reqion for all records, which is not the expected result.

I know for sure which record I'll get a match as the variables in my condition are returning the same value from the recordset

Attached is the rule manager screenshot, plus the page taken from.

Any ideas where im going wrong please?

Thank you. Paul.

Attached Files
index.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the security assist show region tool and access rules cannot used for this purpose.

you will need to hand code this condition on your page.



php:
<?php if($row_ShowMyPics['hopicsidx'] != $row_GetPrimaryPhoto['hoprimePhotoID']) { ?>

They don't match
<?php } else { ?>
They Do Match
?>
Sign in to reply to this post

PaulBeta Tester

Thanks for the hint.

I also found this freebie useful wto resolve my issue - other WA users maybe interested too
http://www.dmxzone.com/go/3328/php-show-if-recordset-field-condition-is-true/

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...