Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 18    Views: 94

LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
04/04/14 07:25 AM (10 years ago)

Forms

Does Easy Forms plugin have a way to connect to a database? If not, what is a good but simple way? LA
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
04/04/14 07:51 AM (10 years ago)
Iam Using "RS-Forms" and an Responsive Design....
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/04/14 07:53 AM (10 years ago)
Hey @Worker, Can you explain a little more? This a website? LA
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
04/04/14 08:04 AM (10 years ago)
Yes... iam Using primary Joomla as BackEnd for Forms.... RS-Forms is an Formularbuilder for Joomla... You can make as many Forms you want... And with an Responsive Design you can load it with the Standard "CustomUrl" Plugin.... We need it for our Customer because RS-Form saves the Input in the Database AND sends the Input to the Customer and the Siteowner. There are also PayPal-PlugIns for RS-Forms. So you can make with it an little Shop... ;-)
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
04/04/14 08:05 AM (10 years ago)
One Question from me.... Dows the "Simple Form" Plugin from Chris send the Input to an Emailadress? And what Inputfilds are avaible?
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/04/14 08:13 AM (10 years ago)
ok thank you! LA
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/04/14 08:21 AM (10 years ago)
The new Easy Forms plugin just uses labels and text fields. It can send results to a PHP script where it can be emailed out or stored on a database. If you need help creating such a script, let me know. You can also have save and open buttons on it, so users can save their forms to the device and pull them back up for quick retrieval.
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/04/14 08:22 AM (10 years ago)
Yes I need help with the forms. LA
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/04/14 08:28 AM (10 years ago)
Here's a sample php script which will email the results to an address you specify: <?php $sendToEmailAddress = "[email protected]"; $subject = "Form Submitted"; $message = ""; foreach ($_POST as $fieldName=>$fieldVal) { $message .= "$fieldName = $fieldVal \n"; } mail($sendToEmailAddress, $subject, $message); ?>
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/04/14 08:33 AM (10 years ago)
@Worker73, Do you have to install Joomla on your website? LA
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
04/04/14 08:36 AM (10 years ago)
Jup...
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/04/14 08:38 AM (10 years ago)
ok dont want to do that LA
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
04/04/14 09:05 AM (10 years ago)
No problem.... Than Use Chris1 PlugIn.... I dont tested but you must also have an DB and PHP on your Webspace.... Its smaller then an whole CMS - System ;-)
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/04/14 09:09 AM (10 years ago)
Actually - you don't need a database for my plugin - just a way to run a php script.
 
Worker73
Android Fan
Profile
Posts: 419
Reg: Feb 06, 2012
Austria, Klagen...
4,490
like
04/04/14 09:15 AM (10 years ago)
@Cris: He wrote that He need one ;-)
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
04/04/14 09:19 AM (10 years ago)
ok how you not need a database for saving the info on the forms? LA
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/04/14 09:23 AM (10 years ago)
sorry - i misunderstood - if you want to save data then, yes, you need a database
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
04/04/14 01:52 PM (10 years ago)
Chris -- does the Easy Forms save the data on the device? Also, if one comes back to an Easy Forms screen, will the previously saved on-device data be shown for further editing? If yes, you may want to explicitly state that on the Plugin's description page. Thanks, -- Niraj
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/04/14 01:53 PM (10 years ago)
Niraj - it does save data on the device if they click the 'save' button. When the leave the screen and come back, it will be back to the default view. But, they can use the 'open' button to reload their data.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.