Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Dynamic database data to Form Select ??

$
0
0

Replies: 0

Hi,

I made a form with the pro version of Elementor and added an action where the data are verified and written in a custom table.
Now I need to make another page where a new form will depend on the data from the previously mentioned table.

I cannot find a way to set value dynamically for Select or other elements of the form.
I did not find a hook for it, no way for me to create a custom field and didn’t find a way to cheat either.

Is this even possible with Elementor ?
It’s really a basic function for me but it looks like I have to make a full custom widget with a dumb form in it ?

Can I cheat it ? Add some PHP when the page load to add the data to a global JS variable and then tell Elementor to use the variable for its data ?

Thanks for the help,

rXp


Viewing all articles
Browse latest Browse all 59525

Trending Articles