We have a number of fields set to conditionally render on a ‘Create’ page. On each of them, we have set the rendering condition parameter ‘If hidden, Model field changes should be…’ to ‘Cancelled’ (not ‘Retain in Model’). When we eventually save (we move through a series of screens using a enext] button) until the final page where we present a gSAVE] button ), both fields that were conditionally rendered with mutually exclusive conditions now contain data. Example. Background - Field Employee Name is conditionally rendered when Hire Type field = Existing Employee. Field First name (and other fields) are conditionally rendered when Hire Type field = New Hire. Both fields’ rendering condition parameter ‘If hidden, Model field changes should be…’ are set to ‘Cancelled’ (not ‘Retain in Model’). User Action - The User first selects Hire Type = Existing Employee. The employee name field is displayed. The User selects an employee name (this is a look-up field). Before proceeding to the next screen or saving, the User changes his mind and changes the Hire Type field to New Hire. The employee name field is hidden, and the First Name field (and other fields) are displayed instead. The User enters a value in the First Name field. The User clicks on the Next button to move on to the next screen (no save yet). At the end of the screen series, the User clicks on the eSave]. The record created has a value in the Employee Name field AND the First Name field.
Thanks for reporting this. We are looking into the issue. I’ll let you know what we find.
We are still having a problem with this. Any updates?
I am having a similar issue where field changes are not being canceled when the field is hidden, despite render conditions set to cancel changes. I have Skuid for Salesforce Millau (11.0.6).
Update: I think this is only an issue with new records. In existing records, it seems the changes are canceled when the field is hidden (in my limited testing). In a new record, I would expect the conditionally rendered field to go back to null/blank when hidden, but it holds the last entered value. And I’m now on version 11.1.6.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.