2011-03-07, 09:50 PM
I am trying to write a plugin which adds a form to the postbit. I have looked at some examples in MyBB and they all seem to use AJAX and Javascript. I haven't used this before and only done HTML forms with PHP.
Can anyone give me some examples of doing forms in MyBB which take a couple of input text boxes, pass the values to a function and write the values to the database.
This might seem fairly trivial to you but I am struggling to get my function to get called by my form and hence add the required records to the database.
Can anyone give me some examples of doing forms in MyBB which take a couple of input text boxes, pass the values to a function and write the values to the database.
This might seem fairly trivial to you but I am struggling to get my function to get called by my form and hence add the required records to the database.