How to make topic's custom_fields must present

can i make topic’s custom_fields must present when creating topics? the custom field is provided by a plugin.

1 Like

This is really a dev question (it’s too heavy for support imho), so I’ve moved it.

I suspect you are going to have to enhance that Plugin so it validates the custom field input and rejects attempts to Post a new Topic until those requirements are met.

Perhaps you can share which plugin you are referring to?

Thank you very much,Robert. I am very glad you are online and reply this.
It is the location plugin owned by you. Because I am new to ruby and rails,and new to discourse, so I will have much questions now. I like the location plugin,it is interesting and helpful to me. The question I asked in chat days ago, I have solved.

1 Like

It’s “owned” by Pavilion, but I’m the current maintainer. But only because I’m fond of it :wink: :heart:

nice!
so how to validate the custom field input and reject attempts to Post a new Topic until those requirements are met in location plugin. Can you share your ideas and codes? is it complex?