Hi Jimmy,
the values come from an XML file - some values (such as the file size) are already in the XML - other values should be edited by the user via InfoPath. I don't think I can do this with a rule, since as far as I understand, a rule is executed as soon as the users edits a field (I'm pretty new to InfoPath - so I don't know if that is really true).
I can also use a new field since the file size does not need to be updated or changed - but I still have the problem, that I need to do the following steps:
- check the file size (= >1024 or >1024*1024 ...)
- divide the file size by 1024 or 1024*1024 ...
- show the nicely converted figure (kB, MB, GB ..) in the new field
Previously, I used XSLT to display the XML data in a browser - there this was simple since a could use conditional statements and mathematical operations on the XML data!
Regards,
Michael