Adding Topic custom fields in the topic creation form


(Leo) #1

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


(Rafael dos Santos Silva) #2

This plugin (now merged in core) has what you need: GitHub - discourse/discourse-tagging: Tagging functionality for Discourse Forums