Frontend update of custom widget control value
-
I’m trying to build a custom elementor widget with the following kind of control:
Select from 3 “states”: Incomplete, complete, inactive
So far, so good, the admin would be able to choose any of these states in the Elementor Editor when building the page and then css would be applied by defining clases via some logic operations.
The thing is, I’d like for the webpage visitor (not a logged in user, so, frontend) to be able to modify the widget control value from incomplete to complete, vice versa, and not capable to interact if it is “inactive”. Of course this would be a password protected page for the consumption of a single user or user group.
The implementation could be with a button saying something like “mark as completed” within the widget.
Of course this input should be persistent. Say, for instance, if the admin opens the elementor editor in this page after the button being clicked in the frontend, the widget control would now be set as “completed”.
Is this frontend modifying of a control value possible in Elementor?
I’m not asking for specific code, but for directions on where to look or an opinion if this is even possible.
- The topic ‘Frontend update of custom widget control value’ is closed to new replies.