Skip to Main Content

Visual Builder

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Struggling with VBS Field Expressions

Rich CarrJan 23 2025

Hi all,

As I understand it expressions are coded differently in VBS, to what they are in Classic UI (Oracle Fusion)?

Within Classic UI we have many Field level and Page Layout level expressions assigned to fields, such as;

Required field Expression :

if(SavingStage_c != 'Lead' && SavingStage_c != 'Cancelled')
return true;
else return false;
return true

How do I go about replicating this expression within VBS please?

I've tried the following within the field's Required expression editor, but unfortunately it didn't work.

if($fields.SavingStage_c.value() !== 'Lead' && $fields.SavingStage_c.value() !== 'Cancelled')
return true;
else return false;
return true

If anyone could provide some advice or reference material that would be great.

Kind Regards

Comments

Artan Hajdari Feb 11 2025

Can someone help me in this case please

1 - 1

Post Details

Added on Jan 23 2025
4 comments
165 views