2 Replies Latest reply: Aug 14, 2013 2:25 AM by Sean Reardon-Oracle RSS

    Conditional Read-Only and Mandatory

    lkhuptong

      We have this common requirement in Web Determination that, based on the value the user chooses in one field the next field become Read-Only/Mandatory. Is there a way to achieve this functionality.

        • 1. Re: Conditional Read-Only and Mandatory
          Davin Fifield-Oracle

          Currently this can be achieved for a field on the same screen only via customization of the velocity templates being used to render the screen. A feature to make this easier is planned for a future version.

          • 2. Re: Conditional Read-Only and Mandatory
            Sean Reardon-Oracle

            For "mandatory" the workaround for this is to implement an Error event rule so that if the user doesn't answer they get an error message. Obviously this has the usual limitations of using event rules that the value will have already been submitted to the rules engine.

             

            You could similarly "workaround" for read-only by forcing the user to not provide an answer (ie the value would be uncertain) - but you'd need to make sure your rules very carefully handled that uncertain and that you didn't need that uncertain for anything else.