Forum breadcrumbs – You are here:Asgaros Support ForumSupportCustom Input Fields
Please or Register to create posts and topics.

Custom Input Fields

Is there a way to create custom fields when posting a new topic? For example, after clicking the “Create New Topic” button, can you have custom fields before/after the Subject field?

 

 

Uploaded files:
  • Custom-Fields.png

Just a question: where do you want to output the custom fields to?

Hello @trizzuty

It is possible to add custom editor-elements to the lower-area of the editor via the asgarosforum_editor_custom_content_bottom hook. But depending on the logic you want to add you also have to add some custom implementation which is “doing something” with the entered data.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Looking for forum software for work. However, need a few extra fields that will be needed in the New Topic form and then be viewable at the top of the reply page. This info has server information that is important for supporting our product.

Yes, the mentioned hook should do the job, and it could be displayed inside the post via the asgarosforum_after_post_message hook as well. But you need a custom-implementation (PHP, HTML, SQL) for sure which adds the input-fields, saves the data and renders them. There is no way to build this with a few simple clicks.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Perfect! This is what I was looking for. Thank you for the help!