Relative Content

Tag Archive for javascriptphpwordpressapi

Populating Dropdown Menus For Ultimate Members Plugin Using the Choices Callback with an External API

I’m trying to create dynamic dropdown fields using the Ultimate Members plugin. I’ve managed to use the US Census api to create two drop down menus for a registration form that populates a states menu, and a county menu that gets the counties available for each state. Everything works fine in the registration form, the problem is that when the user submits the registration form the county name that is sent to the admin email for account approval is empty(the state value is being sent correctly.

WordPress DIVI Theme integration with API (I’m new in customization)

I’m working on a WordPress project where I’ve created a form to submit data to an external API using JavaScript. The form appears to be structured correctly, but it’s not making the expected API request when I click the “Submit” button. There’s no error message in the frontend, but I suspect something is going wrong.