Using Google form i created a survey form and collects data to the spreadsheet. I would like to use this form in different languages(Internationalisation). Google form support multiple language in one form?
any methods for this?
Thanks
google forms do not support this. there is a 3rd party tool to customize the form further but i doubt it can accomplish it. http://sneakysheep.com/google-docs-form-tool-version-2/
This is no ideal, but if you just want one other language, you can use the "Help Text" for the other language.
Related
I have a laravel based admin.
I'm looking for a PHP library which will help me to build dynamic forms.
By dynamic forms - I mean for example, when the user checks a radio button - new options will appear.
I can build one form using the basic laravel form builder and jQuery.
The thing is - I may have hundreds of such forms, I don't want to build each one of them manually.
Storing them in some kind of model which will be translated to a form is what I'm looking for.
Can you think of a PHP lib which will help me to achieve what I'm looking for?
Are there any other practices ?
All the form builders I've found are good for basic static forms.
Many thanks.
Amir
This is not done by PHP. This is work for JavaScript because you don't want to reload page with every click. You can use some framework like AngularJS or simple AJAX.
AJAX tutorial : http://www.w3schools.com/ajax/
AngularJS tutorial: http://www.w3schools.com/angular/
I want to build a simple contact form, without plugins, on Wordpress using the build in wp_mail function. Standard fields, email subject and message.
The following features are required:
Ajax Submit (nice to have) (I use the jQuery framework)
If Ajax submit, a non javascript
fallback.
I'll validate the form client side,
but would also like to know the best
way to do server side validation, and
pass the message back, within the context of Wordpress.
What is the best practice to achieve this? Any pointers or tutorials. I found this question of note.
If you thinking I'm just reinventing the wheel let me know. I normally use Contact Form 7 (plugin) but am bored of its heavy html markup and the way it loads JS on everypage.
Thanks!
Contact Form 7 is written very well, and ripping apart the guts of that code is a great place to start for pointers and ideas.
Most of the time you could just strip out the core functionality there, and just create a more lightweight front end to suit your needs.
I'm working on a travel website. I'm looking for a function that allows my users to click a hotel and save their selection to a "list" on the sidebar.
I want it to function like a cart so that the list never erases and so that you can see the selection until you are ready to print everything out.
Any help/suggestions are appreciated.
Thanks!
If your users are going to be clicking around to a lot of pages, it will be a real challenge to keep sending this growing list around from page to page on the client side. I would recommend that you consider a different approach. One is cookies, and another is session state.
If you are using server-side code, it would help us to know what language you are using so that we can give you some more ideas.
I would suggesting using AJAX to pass the selection to the backend. If you want this to persist across multiple sessions you're going to want to save it to a database so they can come back later.
http://api.jquery.com/jQuery.ajax/
Use cookies if you don't want to use php.
http://www.w3schools.com/js/js_cookies.asp
has a good example of how to use cookies in javascript.
I recommend using "My favourite posts" wordpress plugin for this kind of job.
I have a multi-part form that will use PHP for the server side database insertion. The form needs to be validated, and I intend to use JQuery Validate to display one icon if the section validates, and another if the section does not.
I'm aware of the use of collapsible panels or DIVs. However, I need to use this same collapsible effect inside my form. How can this be achieved either via JQuery or another client side library?
Thanks much!!
Since you're at the point to decide what framework to use you may check the collapsible forms by ExtJS framework, it may give you some initial idea.
EDIT
#SidC: OK, if you're going with JQuery, you'll better not to mess up with Ext. Don't see much pain to implement if from zero using JQuery::Accordion plugin plus the JQuery::DIALOG. And check this feed
JQuery Accordion: how to embedded it into a dialog box?
You can hide inside a form just as easily as outside.
object.style.display = "none"
is the JS.
Wrap what you're showing and hiding in a div and go to it.
Scott is correct, and not only because we share the same name.
Wrap your HTML form in a div, and then use this:
http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
It's animated too ;)
I want to allow my users to create multi-page forms. So, on the basis of selection of for example a dropdown list of multiple choices, the user can author the multiple pages of the form itself and store their created forms in the server. The functionality similar to Google Forms in GDocs. Is there any example available?
Not really.
You might have a look at phpgem (which generates a form definition for a defined database) or phpmyadmin (again, this generates a form from a database - but on the fly). Or there's tools like phpeanuts, phplens and PfP Studio but these aimed at developers.