Skip to main content
Answer

Can i make a custom field conditionally editable once a custom field is true?

  • October 9, 2023
  • 3 replies
  • 96 views

Forum|alt.badge.img+8

Hi you bunch of lovely people, I hope you’re all having a great day!

 

I am rather new to acumatica, only been using it circa 6 months.

 

I am adding some new fields to our business account screens and had a question.

 

Some fields include ‘Top Architect’ - bool, and ‘Architect Sectors’ - Textedit.

 

Is there any way of locking ‘Architect Sectors’ from being editable if ‘Top Architect’ is false?

 

I appreciate any feedback!

 

Many thanks in advance,

 

Aleks

Best answer by palbores

 [PXUIEnabled(typeof(Where<Table.topArchitect.IsEqual<True>>))]

You can use this code above and put it in the Architect Selectors field.

 

3 replies

praveenpo
Semi-Pro III
Forum|alt.badge.img+3
  • Semi-Pro III
  • October 9, 2023

hi @aiwan,

similar kind solution is available, you can go through the below link.

 


Hope this is helpful.


palbores
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • Answer
  • October 9, 2023
 [PXUIEnabled(typeof(Where<Table.topArchitect.IsEqual<True>>))]

You can use this code above and put it in the Architect Selectors field.

 


Forum|alt.badge.img+8
  • Author
  • Captain II
  • October 10, 2023

Thank you both!

 

This worked like a dream!