Search code examples
lotus-noteslotus-dominolotusscript

Embedded view based on values from radio button


I have in Lotus a radio button called Selection with thesevalues :

Enter choices (one per line): PartID ItemDescription

In an embeddedview I have this formula as Embedded selection:

@If((Selection="PartID");
    "OrderregelsCategorizedByPartID";
    "OrderregelsCategorizedByItemDescription"
)

Show single category I have this formula:

@If((Selection="PartID");
    PartID;
    ItemDescription
)

But it does not work how come??


Solution

  • Both formulas are executed only when document is opened. Later changes in radio button have no effect.

    As a workaround you could reopen the document and memorize the radio button setting.