cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Preferences - Force Required Attribute

dlong1
1-Newbie

Preferences - Force Required Attribute

class=894383114-05102006>Hello,

class=894383114-05102006>

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,
face="Trebuchet MS">David Long
O'NEIL & ASSOCIATES,
INC.

495 Byers Rd.
Miamisburg, Ohio
45342-3662



Confidentiality Notice



use only by the person(s) or organization listed in the address. If you have



Associates, Inc., immediately. Any copying, dissemination, or distribution



prohibited.



3 REPLIES 3

Hello,

To make it short :
set requireattr=off

Christophe Lefebvre
LexisNexis France

-----Message d'origine-----
De : Dave Long
Envoyé : jeudi 5 octobre 2006 16:35
À : adepters@arbortext.com
Objet : Preferences - Force Required Attribute

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
O'NEIL & ASSOCIATES, INC. <blocked::http: oneil.com="/>
495 Byers Rd.
Miamisburg, Ohio 45342-3662

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
>
>
lhales
1-Newbie
(To:dlong1)

Dave,

All the values in the preferences dialog may be set using an associated
set command either through the advanced tab in the dialog, from the
command line or in a script.

I will admit that one or two are a bit difficult to guess, but they are
there. Just rummage through the set commands in the online help. There
are two attribute set commands. One, opens the modify attributes dialog
for any attribute (set promptattrs [help 1069]) whether required or not
and the set reqattrs (help 9180) that Christophe already pointed out. So
if you set force required attributes off and still get the modify
attributes panel, check the other.

Lynn

Announcements