Ventrian Product Forums

We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.
Subject: Little Confused on This Expression Statement
Prev Next
You are not authorized to post a reply.

Author Messages
AJUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:559


12/14/2009 7:26 AM  

I am trying to set up 2 things.

 

I will have 1 specific custom field with text information.


I need to write an expression that basically asks 2 questions for this custom field.

If its a yes, display only to a specific ISINROLE.
If its a no, do not display on the site.

If the first answer was a yes, then a second YES|NO can be asked, and if you select yes, it will display for everyone.  If no, just keep it set to only the ISINROLE..

I am trying to set something up so there is a group of admins, that want to see the certain custom field.  But sometimes, they may want to allow everyone to see this custom field, and not just the admins.

The first field actually is asking, 1) Is action required, Yes or No * Yes automatically displays to the group role admins..


The second field is asking, Do you want to display to everyone?  Yes or No 

Is there a way to have this set up and wrap the expressions around each other?

AJUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:559


12/14/2009 7:17 PM  
So I have made this expression..

[EXPRESSION:ActionRequired:=:YES]Action is required, so get off your butt and get it done[/EXPRESSION:ActionRequired:=:YES]

I have a drop down box, which says YES|NO

WHen you select Yes, it will export the following statement.

Could I also put another custom field within the expression, to put out additional information? It doesnt seem to be working with the drop down method of me selecting YES or NO..

Any help would be appreciated..
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


12/15/2009 5:17 AM  
You should be able to, as long as everything is inside that existing expression.

e.g.

[EXPRESSION:Field1:=:Yes]

[EXPRESSION:Field2:=:Something]

text...

[/EXPRESSION:Field2:=:Something]

[/EXPRESSION:Field1:=:Yes]

Scott McCulloch
Site Administrator
AJUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:559


12/15/2009 7:50 AM  
Can that spot that you added the text, would it be possible to include another custom:field inside the expression area?

I will play with this some more tomorrow. Its already around 1am japan time now.. Still up working.. :) Crazy me..
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:21233


12/16/2009 7:08 AM  
Yep, that should work, just put [CUSTOM:XXX] where text... is

Scott McCulloch
Site Administrator
AJUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:559


12/16/2009 5:19 PM  
Okay, thanks.. will try things out
You are not authorized to post a reply.
Forums > Modules > Property Agent > Little Confused on This Expression Statement



ActiveForums 3.7
We've moved our Product Forums!
To better assist our customers, we've moved to an integrated knowledge base and ticketing system. You can access the new forums at http://support.ventrian.com.