Salesforce Fact #715 | Dynamic name fields using reactive screen components

Another use case related to reactive screen components. Suppose, we have a screen flow where we are using the Name input type to capture user's name. Now, the name can consist of FirstName, LastName, MiddleName, informalname.

Considering FirstName and LastName would always be provided we can dynamically specify the remaining fields to be captured using reactive feature. In this example, we have two checkboxes: one confirming the user has a middle name and one confirming the user has an informal name. Based on the selection made, the fields are formed dynamically and are rendered the same in the UI.

Attached are the screenshots.









Comments

Popular posts from this blog