Yes, you want to use the set command for this in general. Specifically
you want to use
set requireattrs=on
set requireattrs=off
You may also want to look into the option() function as well, which
retrieves the value for a set option, such as
$requireattrs_value = option('requireattrs')
When you are changing preferences through code, you often want to store
the current value, change it to the value you want, perform your task,
then set back to the original value.
Steve
Dave Long wrote:
> Hello,
>
> Is it possible to turn on and off the Force Required Attributes Entity
> setting using ACL or JavaScript? This setting is under Preferences,
> Edit category.
>
> Sincerely,
> *David Long
> **http://oneil.com/" href="blocked::http://oneil.com/">O'NEIL &
> ASSOCIATES, INC.*
> 495 Byers Rd.
> Miamisburg, Ohio 45342-3662
>
>