![]() |
Hey! I'm having a small problem with a custom question that defaults to the users age. I'm having problems validating the input when the form is submitted.
For my custom question I have this code (this part works): PHP Code:
In the "Before Submit" area I have this: (my custom question has an id of 15) PHP Code:
Any help would be great! I'm sure it's just something little I am missing. I know what I am doing may seem a little silly out of context but I want it to work this way. :) |
Quote:
|
Quote:
But in v3.7 (available very soon) you can just customise the template form_navbar |
Quote:
PHP Code:
PHP Code:
|
Quote:
If we have like 100 people submit the forms, may be the result can be filtered by one of the choice in a form question. maybe Ajax can be used here. Quote:
Quote:
|
Just noticed there's an update for this mod...v3.7beta. Are there any release notes as to what this update includes? Also, are there any upgrade instructions?
Thanks, bananalive...for another great mod! |
Quote:
Quote:
|
Thanks, bananalive...
One thing I've noticed, though... This is displayed on the forms..."Please Note: Questions proceeded by an asterisk (*) are compulsory." Actually, the asterik (*) does not proceed the question, but appears after the question. Also...anyway to change this and make the asterisk (*) red in color? |
Updated to 3.7 beta and upload the js files. To sort column, just click on the column header name and an arrow down will appear next to the header name.
This is not too obvious to people since it's hard to tell you can sort. Maybe we can add a filter section on top to display only the columns we want in case we have 20+ columns? |
Quote:
|
LOL...Must've been a dyslexic moment.;)
|
I've been having the same problem as others in that when I create a new form and then try to save changes to it, I get redirected to my first forum without the changes being saved.
I was running an old version of VBSeO but even tried disabling it and uninstalling it and still have the issue occuring. |
bananalive,
Can you give instruction for people who want to edit the form result table template to add/arrange the column, etc Also, is the feature for people to delete their own form enabled in this 3.7beta version yet? Thanks |
Wow. Great work!
I haven't read thru all 81 pages of comments, yet, but perhaps you'd forgive me.... Where's your Donate link? (ADD one!) [You deserve it!] |
Quote:
|
Quote:
|
Quote:
|
Quote:
No |
Quote:
You can click the Support Developer in the right hand side of first post of every page. Beneath Mod Information and The Developer. |
Ok, thanks
I like to move the Time column right now to the end right of the form result table and edit them as Last Updated, and also format to show the date only, not the time. |
Quote:
I'm just curious: technically speaking, since the result are stored in database as a block of text, isn't it possible for you to do a sql update query to replace that row with the new row? How about we change the way we store data in database as column, would it be easier for you? I'm just throwing it up out there and hope for a chance you will ponder the possibility. Thanks |
When a form is submitted, I would like an automated specific prefix to be added to the thread. How would I go about doing this?
|
Quote:
|
Quote:
Installed 3.7 No dice, still redirects to first forum Uninstalled 3.7 Installed 3.6 No dice, still redirects to first forum. If you'd like admin access to view it, I can give you a test login that'll allow you to edit the forms on my board. |
It looks like the custom output is working differently for drop-down choices.
Here is an example: Question: What is your favorite color? (single-selection drop-down) When not using a custom output format, it displays fine, like this: What is your favorite color? Blue Using a custom output it looks to display the number of the choice, rather than the choice itself, like this: This is the custom output: {username} tells us that their favorite color is $q[30]. (username) tells us that their favorite color is 2. It seems to work well for the normal text fields. |
Nevermind, all fixed.
|
How do i remove from a post that appears as a blank space when a user does not fill in an optional question.
|
Looks very interesting, and good for an idea I have.
|
Quote:
|
Quote:
{username} tells us that their favorite color is $qo[30]. |
Quote:
$formoutput = str_replace("[B][SIZE=3][/SIZE][/B]", "", $formoutput); |
Thanks. :up:
|
Thanks again, bananalive! :)
|
Quote:
|
I'm sorry if this has already been answered (I did search through the thread), but how would I go about creating a hook that checked to see if a users post count was above 10? I have no PHP knowledge. (At best, all I can do is look at a chunk of code and get the general understanding of what it does)
The reason I ask this is because my forum is dedicated to an online game, and I want to be able to give people the option to create a forum for their clan. I want there to be a minimum post requirement for them to be able to do this, because in the past I have had to check manually and it's sort of a pain for me to do. Thanks! |
Quote:
Done. Thanks again! |
Quote:
Form Hook: Before Submit: $formoutput = str_replace("X", "", $formoutput); |
Quote:
PHP Code:
|
1 Attachment(s)
Quote:
Then if the answer is no the next question they are told to ignore, but if yes the next question they fill in the type of scope. So if they choose "no" and don't fill in the type of scope, this is then submitted with a space/gap in the for sale thread, if i click on edit thread i have to remove [b][size=3][/size][/b] from the post to remove the space/gap between the item for sale listing. Maybe i have to tell the form somehow to ignore the next question if the answer is "no" See pic for example of gap between rows. |
Quote:
|
All times are GMT. The time now is 09:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|