Fordraiders
asked on
lotus script to assign a value to a field on condition
lotus notes 4.6/r5
domino r5
what I need:
I have a field that is a radiobutton - editable with 2 options...
Off-Site/Desktop | Off-Site/Desktop
On-Site | On-Site
If a person selects "On-Site"
I need another field("SiteProjectManager_ 1") to change a value called "JIM PARKER"
SiteProjectManager_1 - a "Text"-computed for display....
I currently already have this in the "Value" for "SiteProjectManager_1"
@If(ProjectSize = "";@Return("");@Success);
@If(ProjectSize ="20-200" ;"David Thomas";ProjectSize ="501-1000" | ProjectSize ="1001-2500"|ProjectSize = "2500+";"Tom Hobbs";"Dale West")
Thanks
fordraiders
domino r5
what I need:
I have a field that is a radiobutton - editable with 2 options...
Off-Site/Desktop | Off-Site/Desktop
On-Site | On-Site
If a person selects "On-Site"
I need another field("SiteProjectManager_
SiteProjectManager_1 - a "Text"-computed for display....
I currently already have this in the "Value" for "SiteProjectManager_1"
@If(ProjectSize = "";@Return("");@Success);
@If(ProjectSize ="20-200" ;"David Thomas";ProjectSize ="501-1000" | ProjectSize ="1001-2500"|ProjectSize = "2500+";"Tom Hobbs";"Dale West")
Thanks
fordraiders
ASKER
no the same field:
The first field is : "WorkRequestType"(radiobut ton) if its value gets changed to "On-Site"
I want the second field : "SiteProjectManager_1" changed to " "Lady Penelope"
but as stated above I already have code in the "Value" property in "SiteProjectManager_1"
I did not know if what I'm trying to do would interfere with this other code ?
Thanks
fordraiders
The first field is : "WorkRequestType"(radiobut
I want the second field : "SiteProjectManager_1" changed to " "Lady Penelope"
but as stated above I already have code in the "Value" property in "SiteProjectManager_1"
I did not know if what I'm trying to do would interfere with this other code ?
Thanks
fordraiders
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Make the second field a computed field, with formula @If(RadioButtonField="On-S
Set the options in the first field to Refresh fields on keyword change (in the field's Properties box)