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)

hqlman 07-05-2009 01:08 AM

I found a small bug, when writing a description i used inverted commas like: "Introduce Yourself" , on my form the output is as such: "Introduce Yourself"

Im not sure how this bug can be corrected, anyone?

pmflav1 07-05-2009 01:40 AM

Quote:

i was wondering if i have a question where someone has to put there postcode in, can i have the answer link to a URL to a map showing the postcode?

its for my classified section.

other than that excellent script. clicked install..

also is it possible to highlight answers to 2x questions red and BOLD? (for example both answers should be a price!)

thank you.
You can use the Custom Form Output for both of these if I am reading the question right

A1.
Code:

[HTML]http://www.yourmap.com/{q_*}[/HTML ]
Replacing * with your field number.
Or to have text linking:
Code:

[URL="http://www.yourmap.com/{q_*}"]Click here for map[/URL ]
Remove spaces out of closing [/URL ]

A2.
To have your answers in bold, use Custom Form Output:
Code:

[B][COLOR="Red"]{q_*}[/COLOR ][/B ]
Again, replacing * with your field number. Remove spaces out of closing [/B ] and [/COLOR ]

pmflav1 07-05-2009 01:47 AM

Quote:

I found a small bug, when writing a description i used inverted commas like: "Introduce Yourself" , on my form the output is as such: "Introduce Yourself"

Im not sure how this bug can be corrected, anyone?
Strange. Tried to replicate this, and the output is "Introduce Yourself"

Are you using a custom field?

Quantnet 07-05-2009 02:44 AM

I have added a question with date type and it's not compulsory i.e I don't have to choose any date. However, the default format for that date field is already have Jan chosen and if I don't pick any date, it will display the error and prevent me from go to other questions.

Quantnet 07-05-2009 02:57 AM

Quote:

Originally Posted by Vitaly (Post 1764244)
And date format is hardcoded. It's better to use format string from VB options (not from language preferences).

8. I'd show asterisks (*) for compulsory question with red color.

Can do so with template edit, but think, that would be useful for all as general template.
.

1) The date output is right now as 3\30\2006, how do I change it to 3/30/2006
2) Which template I need to edit to show the * in red.

steve71 07-06-2009 12:00 AM

I've had no luck with the thumbnails but thanks for the effort and continued support. Is it possible to have the "insert image" icon added to the "field using vb editor"?

Quantnet 07-06-2009 01:49 AM

Is there any plan in the future to store the form data as fields in the database. It will allow the sort by column in the result table.
I've seen a couple of people asking this so it would be awesome if you can add this feature.

Second, can you add a features for members to come back later to edit/update/finish their answers in the form?
This will have to do with a tracking of how many forms each member submit.

ConfusedCartman 07-06-2009 09:30 AM

First of all, thanks for the great mod!

I'm having a bit of an issue, though, and since I'm not too well versed in PHP, I may need your help. I'm trying to work around the fact that there's no easy way to offer the user a choice of a prefix (though if there is, let me know - I tried the code you offered earlier on, but it didn't work). Anyway, I'm adding a radio selection in which the top option will include a preset prefix, and the bottom option will not include any prefix. I'm trying to use an if-else combined with a str_replace in order to add the right "prefix" (actually, it's just extra text) when the option is selected.

In Form Hook: Before Submit:
PHP Code:

if ($q[6] == 1)
{
    
$formoutput str_replace("{f4f}""[f4f]F4F:[/f4f]"$formoutput);
} else {
    
$formoutput str_replace("{f4f}"""$formoutput);


{f4f} is the placeholder that I'm using in order to place the text in the right place. I have the {f4f} placeholder in the Thread/ PM/ Email Title field, but it doesn't get replaced when I submit the form - it just remains in the title. I'm not saying it's your fault - if anything, it's probably a product of poor coding on my part. I'm not very familiar with PHP, so I just know enough to get by. Any chance you can help? It would be greatly appreciated. :)

bananalive 07-06-2009 02:32 PM

Quote:

Originally Posted by Quantnet.org (Post 1842885)
This has a lot of potential. I plan to modify this mod to obtain something TOTALLY DIFFERENT.

example: http://www.trackitt.com/usa-immigrat...kers/i130-i485

Question

1) Can we sort by column headers?
2) Can users go back and complete/update partial filled forms?
3) Is there anywhere the user can control the number of cases they filled?

Thanks

1. In the latest version you can sort form data stored to database by headers via javascript (view results as table)
2. No.
3. You can limit how many times a user can submit the form by editing a form.

bananalive 07-06-2009 02:36 PM

Quote:

Originally Posted by jacko_162 (Post 1842908)
i was wondering if i have a question where someone has to put there postcode in, can i have the answer link to a URL to a map showing the postcode?

its for my classified section.

other than that excellent script. clicked install.. :)

also is it possible to highlight answers to 2x questions red and BOLD? (for example both answers should be a price!)

thank you.

You use try creating a custom output, some-else has replied with specifics a few posts up.


All times are GMT. The time now is 06:27 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.02912 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)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