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!

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
Post Details
Added on Jan 23 2025
4 comments
561 views