• Resolved evaldash

    (@evaldash)


    Hello. I’m using this plugin for product inquiries. I’ve populated the list with product names and prices manually, but realised preety quickly that it’s not ideal, since if I add a new product I need to manually edit the list. I was wondering whether there is a way to populate the searchable list options programatically?

Viewing 1 replies (of 1 total)
  • Thread Starter evaldash

    (@evaldash)

    I managed to find a workaround. Rather than setting the options programatically, I exported the products with WP all export, with the fields “Label”, “Amount”, and “Image Url”. Then I imported the options within the Smart Forms plugin. I guess I’ll just update the options whenever I add a new product or remove an existing one, since there doesn’t seem to be an easy way to set the options programatically.

Viewing 1 replies (of 1 total)

The topic ‘Populating select list options programatically’ is closed to new replies.