[Solved] Adding dynamic values to comments form custom fields
Hi there, I'm usign wpDiscuz on a personal project where I added a custom "select" field to the standard comment form. I see I can specify the set of possibile values for this field at design time, while I would like to fill it programmatically (ex. list of values calculated server side). Is this feasible within the plugin?
I'm attaching a screenshot where the current values are static and configured in the custom form configuration section, while I would like to load them from the server when the page is loaded.
Thank you for the possible support.
I'm really sorry but there is no way to do that. This requires large changes in the plugin core.
Hi @elvina, thank you very much for your feedback.
I was hoping in a sort of hook-based workaround.
I'm really sorry but we can't suggest anything.
First of all, we don't have the hooks for such cases, then even if we've had such a hook, we will have problems with saving the data. So, sorry but there is no way to do that.