vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Easy Forms - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=201097)

FW FH-K?ln 04-09-2009 11:08 AM

Thanks bananalive for the fast support.

Kiint 04-09-2009 01:12 PM

Is it possible to make a default value for Dropdown Selects or radio buttons?
so when a user is shown several options like the following:

option1
option2
option3

without them doing anything "option1" will be selected by default?

Maybe giving us the option to put a character next to the text so that the system can see it is a default value, like:

*option1
option2
option3

The form will know that option1 is the default value.
I know that we can make questions compulsory, but I would prefer some kind of default value, maybe a text box where we can type in a default value if the above idea doesn't appeal to you..

bananalive 04-09-2009 01:59 PM

Quote:

Originally Posted by Kiint (Post 1787329)
Is it possible to make a default value for Dropdown Selects or radio buttons?
so when a user is shown several options like the following:

option1
option2
option3

without them doing anything "option1" will be selected by default?

Maybe giving us the option to put a character next to the text so that the system can see it is a default value, like:

*option1
option2
option3

The form will know that option1 is the default value.
I know that we can make questions compulsory, but I would prefer some kind of default value, maybe a text box where we can type in a default value if the above idea doesn't appeal to you..

You could use form hook to achieve this.

Form Hook: Form Start:
PHP Code:

if (!$q[7])
{
$q[7] = 3;


Replace 7 with correct question hash

Raptor 04-09-2009 03:01 PM

is it possible to have this form work on a closed forum (closed to unregistered users) so they can apply to register to the site (we are selective on members) and it posts the form to a thread (if that forum is not accessible to unregistered users)

Andrew johnson 04-09-2009 04:08 PM

yes i think its does that

Raptor 04-09-2009 04:34 PM

What are the instructions ?

I have it emailing ok - but it wont post

bananalive 04-09-2009 09:08 PM

1 Attachment(s)
Quote:

Originally Posted by Raptor (Post 1787480)
What are the instructions ?

I have it emailing ok - but it wont post

Do you get error message?

Also try attached file it has some changes to allow for posting in forums which user doesn't have access to.

Raptor 04-09-2009 09:25 PM

Still no joy - here is the error message

Quote:

Form failed to submit. The following error(s) occured:
That username is already in use or does not meet the administrator's standards. If you are Unregistered and you have forgotten your password, click here.

DontWannaName 04-10-2009 01:45 AM

Quote:

Originally Posted by bananalive (Post 1787191)
> is >

Is this symbol in your question?

Yes it is, greater than 4 months.

TimberFloorAu 04-10-2009 05:02 AM

Works beautifully, clicked installed.

May I ask, how can we set the layout better.

ie.

First Name
Albert Einstein

Would rather it appeared like:

First Name - Albert Einstein


All times are GMT. The time now is 06:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02626 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete