Wow, I am very amazed that the Invision Power Board support is so lacking (this is paid software!).
I just can't find the documentation for what I want to do, and I'm talking about what I could do in five minutes with any other forum software.
Anyway, the question is: basically I need to add a custom form field (selection menu) to the "New Topic" page on my forum. I added a select tag to the postFormTemplate template, and I also created a subclass hook for the public_forums_post_post class. I override the saveForm function, which allows me to save the value of this new field that I added.
The problem is this: how to set the initial value? that is, is there a loadForm function or something like that that will allow me to load the initial value for the field and then pass it to the template? I hope my question is clear enough. Please ask if you need clarification.
source share