Hi Matthias,
-------- Original-Nachricht -------- > Von: Matthias Scholz <[EMAIL PROTECTED]> > Betreff: [api-dev] Simple field computing in XForms > is there a simple way to compute the sum of two numeric fields in a > OO-XForms document or other simple calculation with fields? The sum is a > numeric field too. The prefered language is JavaScript or BeanShell. It should be enough to use the XForm's formula capabilities for this purpose. Using JavaScript / Beanshell your implementation would depend on OOo. Using plain XForm standard it would be (in theory) product independend. For a simple example, download this zip: http://de.openoffice.org/files/documents/66/2762/formulare_beispiele.zip and have a look at aufnahmeantrag_xforms.odt The "Jahresbeitrag" would give you an idea how to implement calculations. André -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
