How to control Display Form Button Bar visibility in custom React Form Element
In my VertiGIS Studio Workflow I have a “Display Form” activity which contains a custom Form Element built in React. My display form also contains a “Button Bar” form element with a “Submit” button so it displays on my React website.
In my custom React code, I have a Boolean variable that flips between values “true” and “false”, and I want to have its value control the visibility of the “Submit” button on my React website. Is there a way for this React variable to control the “Visibility” checkbox for the button bar in VertiGIS?
Thanks in advance.
-
Hi Jeffrey Li,
Your custom form element's can't directly control the visibility of another form element. You could however use the Show Form Element activity to set the visibility of the button bar.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar