Version: 4.3.0, by bananalive
Developer Last Online: Nov 2023
Category: New Posting Features -
Version: 4.0.x
Rating:
Released: 01-27-2010
Last Update: 10-04-2011
Installs: 1410
DB Changes Uses Plugins Auto-Templates
Additional Files Translations
No support by the author.
Easily create forms with no HTML or PHP knowledge. Questions can be made compulsory and are checked before the form is submitted. Forms can be previewed. (You can create multiple forms)
Screenshots
There are two posts full of screenshots of this modification
Upload the contents of upload folder to forum root (Allow Overwrite "YES" for overwrite) clientscript\easyforms.css -> \clientscript\
clientscript\easyforms.js -> \clientscript\
I am trying to get the form to go to the current forum where the user clicked on the link to go to the form. What am I doing wrong?
***
On a separate thought, does the misc.php accept an argument containing the forumid, like the newthread.php? I could pass the forumid at the time the form is called if it does.
hey banana,been using easyforms a while and love it
just lately though I tried using the question variables for the form output
the form output should be {q_1} Review for {q_2} by {username}
{q_1} being a game name and {q_2} being the platform,so the output should read something like
"mass effect 2 review for PC by bigj85"
but only the username variable is working so I get
"Review for by bigj85"
am I doing something wrong here?
I'm having the forms output sent to a forum as their own thread btw
{q_#} does not mean the first question. It represents the questions number. Go to the edit form page for the form you are looking at. Go to the bottom. You'll see your questions listed like so:
Quote:
1. What is the name of the game? (Single Line Text Field) #38
The number at the end there (#38) is the question's number. So, that would be {q_38}.
Personally, I recommend using reference name within the question (like gamename) and then doing {q_gamename} instead, but that's up to you.
{q_#} does not mean the first question. It represents the questions number. Go to the edit form page for the form you are looking at. Go to the bottom. You'll see your questions listed like so:
The number at the end there (#38) is the question's number. So, that would be {q_38}.
Personally, I recommend using reference name within the question (like gamename) and then doing {q_gamename} instead, but that's up to you.
I am unable to affect the destination of the form results with the code you corrected below in the form hook before submit location. The form always goes to the destination specified in the "Forumid where Thread is posted:" location. In my case I have a main category (forum 1), a main forum (forum 2) and a review forum (forum 3). I even tried setting "Forumid where Thread is posted:" to the main category. I didn't get an error, but the form results did not appear in either forum. Not sure where it went. I'm not getting an error message anymore, but neither am I able to redirect the form output.
Per your comments in post #651 I also tried the forum assignment without the single quotes surrounding the target forum with no change in behavior.
I am unable to affect the destination of the form results with the code you corrected below in the form hook before submit location. The form always goes to the destination specified in the "Forumid where Thread is posted:" location. In my case I have a main category (forum 1), a main forum (forum 2) and a review forum (forum 3). I even tried setting "Forumid where Thread is posted:" to the main category. I didn't get an error, but the form results did not appear in either forum. Not sure where it went. I'm not getting an error message anymore, but neither am I able to redirect the form output.
Per your comments in post #651 I also tried the forum assignment without the single quotes surrounding the target forum with no change in behavior.
PHP Code:
$form['forumid'] = 3;
To affect the destination forum you need both variables changing, as below: