Select Options from Database — how?
-
In WordPress with Form Maker, I want to populate a Select Box (Custom Select) with 69 options from a table in a database. This did not work:
0. Create a new MySQL database with a ‘sponsor’ table with columns Name and Value
1. Create new field of type Select Box with the default Custom Select.
2. Click Select options from database.
3. Click Remote and enter the database credentials.
4. Click Connect
5. Select a table > sponsor
6. Select a name > Name
7. Click the + and select Name = *
8. In Select an option, select Name and accept the default asc.
9. Click Save
Expected result: The options list would be populated with all 69 names and values.
Actual result: Dialog closes and the first blank option is populated with [sponsor:Name] in both the Name and Value fields. The 69 sponsor names are not listed. No error message.Suggestions welcome!
- The topic ‘Select Options from Database — how?’ is closed to new replies.