vb.org Archive

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

bananalive 08-30-2012 04:46 PM

Quote:

Originally Posted by wolfey (Post 2360488)
I am currently using this form for an employee to request a vacation from work
What I would like to do is check the start date against todays date and make sure it is 2 weeks in advance.

Can you point me in the right direction with what code or hook I can use

Thanks!

You can do validation with php via the: Form PHP Hooks -> Form Hook: Before Submit:

bananalive 08-30-2012 04:47 PM

Quote:

Originally Posted by ascroft (Post 2356116)
Hi there.

One tweak I wanted to make is pass the forum in the string - [MAP]{qo_72},{qo_73},{qo_74}[/MAP] but strip a prefix I have on the forum (one of the questions).

For example if {qo_73} actually contained "PD_Wakari", I wanted the insert in to the string to be "Wakari" i.e. drop the first 3 chars. I know how to do that in Excel but not that useful here!

Is there a simple way to do this please?

Thanks.

Mark

You can use form php hooks and php function substr()

Reference: http://php.net/manual/en/function.substr.php

svaghari 08-30-2012 05:38 PM

Quote:

Originally Posted by bananalive (Post 2361240)
Have you put anything in the php form hooks?

Nothing, I think it comes up when someone forgets to answer a mandatory field.

svaghari 08-30-2012 07:13 PM

nvm, got it fixed

svaghari 08-30-2012 07:17 PM

Quote:

Originally Posted by bananalive (Post 2361242)
Nope, you would have to create a custom question for this


:confused:I'm not sure how you would do this. Can I pay someone to get a 'payment' question working for me via paypal etc...?

springchiken 09-04-2012 04:47 AM

bananalive

Had a question for you. Is there anyway to get the max text amount over 5000 i need it to be around 5600-6000. Some of are forms a very large.

Elenna 09-05-2012 04:49 PM

That is likely a vBulletin setting for the max characters per post. You can change that in the settings (Message Posting options, I believe).

deadlySniper 09-11-2012 12:32 AM

I must not be looking in the right areas or something. Is there a way to edit the top part of a form when they are looking to fill it out.

http://gameboxtools.com/uploads/imag...1013222290.png

sniper pak 09-21-2012 08:49 AM

Friends, i have very strange question...pls help.

1. Admin of forms create form with option save to DB and posting result to forum.
2. User fill out and submit.
3. User wants to change its, and send PM to admin of forms. Example: @I made a mistake with Number of places, I have not 3, i wanna 4".
4. Admin changed result of form.
5. But, in autopost 3 not changed on 4!

Q: How to link edit the result in the administrative part of the result in a forum?

Budget101 09-26-2012 12:00 PM


I originally asked, "Is there any way to add an "Upload Photo" field?? "

Quote:

Originally Posted by bananalive (Post 2105883)
You can allow attachments, when the form creates new thread.


Ok, I tried this, but then I have to go back to all the usergroups and change their permissions to allow attachments and then they can view the attachments box.

Is there a way to add a short "Upload" button that just says, "browse for photo" or something to that effect without having to give sitewide attachment permissions??

I need an "Upload Photo" button that can be used if the form is being sent to email, rather than posted to thread and submission of photo is Required- not optional.


All times are GMT. The time now is 02:17 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.03423 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
  • (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