Adding Topic custom fields in the topic creation form

Hi,

I’m working on a plugin that deals with custom fields on Topic. I’ve added custom fields as recommended, by using TopicCustomField. I’ve also added custom text fields in form/composer via connector partials. Now I want to submit these text fields to update the topic custom fields. What is recommended way of doing it? Is there any guidelines/tutorial or any doc that i can follow? Or any help?

Thanks

This plugin (now merged in core) has what you need: https://github.com/discourse/discourse-tagging

4 Likes