Hi all,
-- I would like to prune data before saving the form in order to avoid saving values for hidden fields. How can this be achieved? Could I somehow add a step to the save-final process which could do this before save? Thanks in advance. Kind regards, Masa 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 Masa,
Do you need this to happen when the data is submitted to a service you provide, or would it need to happen for data saved by Orbeon Forms in the database? If the former, using a `send(nonrelevant = "remove")` or `send(nonrelevant = "empty")` will do it (for more on this, see the first link below). If the latter, this isn't possible yet, but we have an RFE for this (see the second link below). Does this help? https://doc.orbeon.com/form-runner/advanced/buttons-and-processes/actions-form-runner-send.html https://github.com/orbeon/orbeon-forms/issues/3152 Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
-- In my case, I would need the latter. Seeing as I'm working on Orbeon 4.8, how can I add the xf:submission with relevant = "false"? I will make sure to update my post on Monday with an example of a form I'm working on. I have a page which includes the form with different controls (input fields, autocomplete, dynamic dropdown, radio buttons) and I also have a button on the page which isn't in the form, but rather on the page and it triggers the save-final-process. Thanks in advance. Best, Masa On Friday, August 18, 2017 at 6:58:26 PM UTC+2, Alessandro Vernet wrote: Hi Masa, 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 Masa,
I'm afraid that clearing non-relevant fields on save would really require that we implement RFE #3152. I've added a +1 from you on that RFE, but can't say when it will be implemented. If this is a top priority for you, it might might make sense for your organization to sponsor the implementation of this feature. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |