Hi,
-- I have problem w calculated fields. I need such construction: 1. repeat with budżet positions with buget category and let say person responsible for that particular budget position. 2. person is a separate repeat 3. categories is a list of category defined as select1 In budget repeat i choose category and person and have value of that category In person repeat I have calculated fields that count value per category per persone e.g. sum(/budget/position[category='categoryname' and person = current()../../personname]/value) I have also summary table with columns : category |persontype 1 | persontype2 | totalin category. My problem is that not all calculated field changes it values when I'm changing values in budget repeat. Sometimes it haapens only when I add new row in my budget repeat. Is it possible to force orbeon to calculate values in different way? I don;t know . How many iterations should be done to have correct values. I tryied to run xf:recaluclate action but without success. Jarek You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Jarek,
Could you try editing the source of your form (in Form Builder's sidebar, under "Advanced", "Edit Source"), and adding on the `<xf:model>` the following attribute: xxf:analysis.calculate="true" You'll let me know if this helps. Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi, Alex is much better now :) I can observe a delay in re-calculation and but the same is with validation. My form is quite huge with many validation rules and calculations. I'm thinking about orbeon client-side validation/calculation. Is it any disadvantages in such approach? Jarek 2018-05-17 23:36 GMT+02:00 Alessandro Vernet <[hidden email]>: Hi Jarek, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Jarek,
Excellent, I'm glad that helped. And are you referring to possible downsides of adding `xxf:analysis.calculate="true"`? If so, that feature was implemented earlier, but needed more testing, thus wasn't enabled by default, but it will be on by default starting in 2018.1, so there is no downside. Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |