PermaLink Yellow Day tip: how to use Notes computeWithForm with an XPage08/11/2008
Domino 8.5 - XPages
Image:John's Blog - Yellow Day tip: how to use Notes computeWithForm with an XPage

I'm celebrating Yellow Day today here at GroupwareInc.  In honor of the celebration I have an XPages tip to share with you.

How to use Notes computeWithForm with an XPage
Here's how you can use your Lotus Notes default field formulas when opening up an XPage, or when saving an XPage, or both.

- Select your XPage Properties tab and click on the All Properties tab.  
- Navigate to data and expand data->dominoDocument[0].
- Select when to execute the computeWithForm form logic.  Your choices are: onload, onsave, or both

On the backend, this actually executes the document.computeWithForm() method.

Here is a screen shot:

Image:John's Blog - Yellow Day tip: how to use Notes computeWithForm with an XPage

Have a happy Yellow Day!

John

Technorati:
This page has been accessed 1675 times. .
Comments :v

1. Apollo09/04/2009 01:13:35 PM


John,

I tried using this with a Number field (Input Translation is @TextToNumber) in the form and bind the field to a Combo box control in my xPage but it does not save.

There's no message (error or warning).

How can I use a Combo Box control and bind it to a Number field in a Form. Are there any extra steps/properties?

Thanks in advance for your help.

Apollo




Search
Partner with us
Need help on your XPages projects?

Talk to the experts! Read more...
XPage Examples
By Category
About Me
Downloads
My Links
Monthly Archive
Powered by
Blogsphere
Lotus Domino ND7 RSS News Feed RSS Comments Feed Geo URL netcraft RSS Validator Lotus Geek Chris. A. Brandlehner OpenNTF BlogSphere