Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Dana Wright 17.Jun.16 12:59 PM a Web browser
Domino Designer All Releases All Platforms


Hi all you experts.

I need to preserve the value of a field the first time the form is saved. I've used computed fields with formulas hundreds of times, but for some reason I cannot make this scenario work.

Scenario:

I have field1 that is a radio button with 2 choices, with choiceA as the default value.

I have field2 that is a combobox with several choices with "Select..." as the default value, and is hidden until choiceB is chosen in field1.

If field1 remains the default value (choiceA), then my computed field (field3) should be field1. If field1 is choiceB, then field2 comes out of hiding and the user chooses one of the values. Then that value should go into my computed field (field3).

Field3 is the problem! Field3 is computed and has this value:
@If(field1 = choiceA; field1; field2)

That formula works, but the problem is, it does not retain the value. Other users can now come into the saved document and change the value of field2, which also changes the value of field3. I need field3 to retain the original choice. I have tried computed when composed and everything I can think of.

Summary:

Field1 – choiceA, choiceB (radio button)
Field2 – several choices (combobox)
Field3 – choiceA if that’s what’s chosen in Field1, or Field2 if choiceB is chosen in Field1 (computed)


Any and all help and ideas are greatly appreciated!

Dana






Computed Field Problem (Dana Wright 17.Jun.16)
. . Have you made it a computed when co... (Carl Tyler 17.Jun.16)
. . . . RE: Have you made it a computed whe... (Dana Wright 17.Jun.16)
. . . . . . RE: Have you made it a computed whe... (Mark Landry 18.Jun.16)
. . . . . . . . RE: Have you made it a computed whe... (Dana Wright 20.Jun.16)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite