How best to do a once only calculation?

We have a need to put in a date generated when you construct the form as
such I have looked at

<xforms:bind nodeset="Date_begun" id="Date_begun" type="xsd:dateTime"
calculate="now()" />

However rather obviously it will do this everytime I open this
element/form.

We have an element which can carry a value which we are using to denote
if something is new (i.e. should have the date now() generated) or
already existing i.e. it should be left as is.


Any ideas?

TIA


Adam

This e-mail is confidential and privileged. If you are not the intended recipient please accept our apologies; please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation.

Received on Tuesday, 6 June 2006 15:09:28 UTC