I would like to do so, on the same form, that person A cannot see the person B section when there is an address: http://form (no parameter)
and person B has what person A filled in read-only, but has his own section (or sections or controls) visible and to be filled (if the address is http://form?personB = 1)
-- If I put in the Read-Only field xxf: get-request-parameter ('personB') / string () = '1' then I have at the address http://form?PersonB = 1 sections of personA as readable and that's ok but how to do
so that at the address http://form?personB = 1 the fields of person B are visible and editable? 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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/3b119bc6-5f5d-413f-910d-6ee89b340238n%40googlegroups.com. |
Administrator
|
Hi Władysław,
You seem to be saying that you make the distinction between: - Person A doesn't have a `PersonB=1` request parameter. - Person B has a `PersonB=1` request parameter. You can put those formulas at the level of the section. Say: - If you want a section to be readonly for person A but not person B, in the Section Settings, under Read-Only, use the formula: `not(xxf:get-request-parameter('personB') = '1')`. If you want it to be readonly for person B but not person A, do the same without the `not()`. - If you want a section to be hidden for person A but not person B, in the Section Settings, under Visibility, use the formula: `not(xxf:get-request-parameter('personB') = '1')`. If you want it to be hidden for person B but not person A, do the same without the `not()`. Does this help, or did I miss something about your situation? -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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1610263098951-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro,
This solution works. Thank you very much. Vlad
-- niedziela, 10 stycznia 2021 o 08:18:22 UTC+1 Alessandro Vernet napisał(a): Hi Władysław, 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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/654509fd-04c9-4eaf-94fb-609049f12fd0n%40googlegroups.com. |
Administrator
|
Perfect Vlad, and thank you for the confirmation.
-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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1611017360330-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |