lotus notes - Disable a form field in LotusScript or using Input Enabled formula -


using domino designer 8.5. if have form radio button field, possible disable field in lotusscript, possibly in postopen of form?

the way can, far, see of achieving using input enabled formula of field itself, struggling understand when triggered... if try put @statusbar or @prompt formula call in there there never notification of input enabled being triggered.

if input enabled way achieve this, not lotusscript, there way can have a) formula sets input enabled condition plus b) way of getting visual output, either status bar or message box, either indicate formula has been triggered or - better - let me know value of variable i'd check?

the input enabled formula triggered on every refresh of document (f9, save, notesuidocument.refresh, etc.), can not contain code "interacting" user.

but this:

  1. create field "inputenabled"
    best way have "controlling" field make "computed display". way not stored in document. formula enter @thisvalue, not change value , can set using lotusscript. if want have "initial" value, formula be: @if( @thisvalue = "" ; "yes" ; @thisvalue )
  2. in "input enabled" formula of other field write code:

    inputenabled = "yes"

  3. fill "inputenabled"- field using lotusscript (notesdocument.replaceitemvalue( "inputinabled", "yes" ), or using formula directly in field.

like can "see" conditions (in field inputenabled) , change using formula or script.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -