Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 06:07:42 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149621 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: 1 [2] 3 4 ... 8   Go Down
Print
Author Topic: Stable version of MPForm ( Multi Purpose Form)  (Read 22659 times)
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #25 on: May 09, 2009, 05:09:54 PM »

1: I'm not sure why you think that. My solution exports all complete results of the form from which you export.

A multi page form does have more than one section id, I did not know you can export those together into one file.
I don't know either. As far as I know there isn't such a thing as a multipage form yet. I'm talkign about the current FormX module. I you have multiple forms created with FormX on your site, and you export it with your separate export module, all submissions form all forms are stored into one table, and are exported as such. So in your export file you cannot see which submissions are from whch form. The export function in my modified FormX module just exports the submissions form that form, not other forms that happen to be on the site. That's the difference. But if your new module has an option to assign a unique id to each form, then it's no problem.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
oeh

Offline Offline

Posts: 190



« Reply #26 on: May 14, 2009, 02:05:52 AM »

Well. Think that was it.
The Norwegian language file should be don.

I'm not quite sure, but some lines where marked with ", and some with ', as the lead in and out.
The last line where marked with only a ' and not ', ?
Well, any how, I took the liberty of changing all the ", to ', and the last ' to ', .
Ehh, that was kind of jibberish but hopefully someone understood my pity excuse for an explanation.

There where also some liens that I'm a bit uncertain of, regarding the translation, but they are marked with
', // *uklar.
If possible, I'd like to leave these remarks within the file, so that it is easier to track these uncertainties
later on.


Anyhow, the MPForm are rely kicks a..... fantastic.
My hat's off, and I've got a good grip around a pair of rabbit ear's.  cheesy

Can't wait for what kind of wizardry you'll come up with next.


If you are in need of further translations for this project, just give me a PM, and I'll have a go at it.
« Last Edit: May 14, 2009, 02:58:46 AM by oeh » Logged

Good bye ;-{(
oeh ;-}>
Vincent

Offline Offline

Posts: 360


WWW
« Reply #27 on: May 23, 2009, 12:31:19 PM »

I just did the tutorial, looks very impressive and a valuable contribution to WB. Didn't install and test it yet, though. Thanks for your work and contribution.

Vincent
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #28 on: June 04, 2009, 10:27:08 PM »

Frank, I noticed all the fields in the backend are very small. Hardy usable this way. Please update the module with full sized entry fields like we know of the form and formx modules.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #29 on: June 05, 2009, 03:56:48 PM »

Ah! I didn't know that. Works fine now  grin
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #30 on: June 05, 2009, 04:21:44 PM »

Found a bug I think: the "Add field" button doesn't work. I have to go back by clicking on Cancel, to add another field.

It seems the Fieldset fields doesn't do anything either...

Another remark: I miss an option to add more than 1 mail addresses for receipients of submissions. In the "E-Mail Settings (Mail to site owner)" you can set adressess to let the visitor choose from. But I see no option to send the submission to more than 1 receipient. That was a feature request from the start  undecided Will it be added?

Last thing: it would be nice to have a non-email default option for the receipient-dropdown, to show something like "Please select a receipient...". Now the first mail address is the default one, and visitors may not see the possibility to choose.
« Last Edit: June 05, 2009, 04:39:47 PM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #31 on: June 05, 2009, 05:45:52 PM »

Quote
Can you send a screen shot when exactly it does not work?
I can't reproduce this here.
There would not be anythinn to see on such a screenshot, except the interface. Clicking on the "Add field" button after having saved a field doesn't do anything. It does not present a nwe field entry form. I just found out that Firefox works fine by the way, but IE7 does not.

Quote
It is always a good idea to first either read the help file or to run through the tutorial
I am sure afterwards you will know what your error was  grin
Allright LOL

Quote
Another remark: I miss an option to add more than 1 mail addresses for receipients of submissions. In the "E-Mail Settings (Mail to site owner)" you can set adressess to let the visitor choose from. But I see no option to send the submission to more than 1 receipient. That was a feature request from the start  undecided Will it be added?

Quote
No word about that the user should be able to choose multiple addresses.
Does it make sense to let users choose to mail to more than one recipient?
No, that's not what I mean.

What I mean is what I wrote on 27-4:
Another thing that has been requested a number of times is the option for the admin to set more than 1 email address for the (receipient of the) form. Also an option for the user to choose a receipient via a menu in the front end is much wanted.

And on 4-5 I wrote:
I'm willing to pay you 50 bucks if you can do the multiple mailadresses for the next version. And another 50 if you can the do the frontend mailadress chooser in the next version.

Right now, only the frontend mailaddress chooser is implemented, but not the multiple receipients for submissions. Many of my clients have requested this over the years.

Quote
Last thing: it would be nice to have a non-email default option for the receipient-dropdown, to show something like "Please select a receipient...". Now the first mail address is the default one, and visitors may not see the possibility to choose.
Quote
And what should happen when the user does not change the default setting?
An error message could be shown: "Please select a receipient". Just like you see errors when leaving a field empty that has to be filled.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #32 on: June 06, 2009, 01:04:40 AM »

Quote
To make sure we both speak about the same thing:
By multiple recipients you mean "3. If the form does not contain a field of type "recipient", all recipients entered in the list will receive the email." ?
This is already implemented: Just enter multiple addresses, do NOT use the field of type Email Recipient in the form, and the email will go to all addresses you listed in the backend.

No, what I mean is simple: just an option to add receipients to the default one(s). I think using a comma or pipeline separated list is easiest. I think a mockup will illustrate what I mean best...
You can add more adresses to the receipient list. Only the first one of each line will be visible on the frontend picker, while the others on each line function as BCC's. When the frontend picker is not used, the first address of the first line will be the default receipient. Easy and flexible to set up. I hope it's also easy to code for you...
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #33 on: June 06, 2009, 01:03:58 PM »

WB-sites are typically made for small to midsized organizations, that don't have mail servers or knowledge about mail configs on hosting platforms etc. Among my clients over the years one of the requests has been how to send form submissions to more than 1 recipient. It's a very common practice to have form submissions go to several mailboxes, especially with small businesses with 1 or several employees, and with non-profit organizations that work with volunteers. I't would be much easier to set those adresses in the form(s) than going the technical way with mail servers and distributiosn lists.

But actually I just found out that multiple recipients have always worked with the original form module, and with the formx module, by using a comma delimited entry (without spaces). For example: info@domain.com,support@domain.com,joe@domain.com works flawlessly. #@&#!%#, if only I had known that earlier...

Apparently you have removed that option, but is it really so hard to put it back in? Maybe you can not see why people would want to use that, but I think it's a very normal feature for a form function. I hope you will reconsider it...
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #34 on: June 13, 2009, 08:36:40 PM »

Frank, have you made any decision about the CC function yet? I have some clients who really need this and I promised them a while ago that it would be available soon.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #35 on: June 15, 2009, 07:26:05 PM »

Hi Frank, I tried again on two different servers and two different default WB2.7 installations. Both form and formx modules work fine with the multiple addresses on 1 line. Really. I can give you admin access to my test site if you like, to test yourself. I don't understand you are not able to replicate this on your installations. Could it be differences in PHP configuration?
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #36 on: June 15, 2009, 07:43:44 PM »

Jurgen, the function to mail to multiple recipients is there. Just enter them in the backend (one at each line) and do NOT use the field Email Recipient.
Yes, I know this is how you have set it up. But with this setup you have to choose to use either ALL addresses if you want to use CC's, or a adress picker if you want to let the visitor select 1 address. But you cannot use both the address picker with CC's. That's what I would like to see in the module. That would make it much more flexible.

For example I have a client that is a patient organization. Right now I have a large number of forms to send mails to all kinds of recipients. All those forms could be combined into one if I had the option to set it up like this (I had to use # instead of @ here, to prevent automatical email links):

Medical advisors(doctor1#hospital.com),doctor2@hospital.com,doctor3@hospital.com,info@organization.com
Administration(info#organization.com),janedoe@organization.com
Website admin(webmaster#organization.com),info@argosmedia.nll
Financial dept(financial#organization.com)
General support(info#organization.com)

With an address picker in the frontend, with options:

Medical advisors
Administration
Website admin
Financial dept
General support

So in fact you use little local mail distribution lists. No need for technical stuff on the hosting server, that none of my clients would understand. And no need for local forwarding to other addresses that is a nuisance.

It's a simple setup:
1. each line is either a single recipient or multiple recipients, separated by a comma
2. all addresses on the same line receive the form submission, but only the first entry (either an address or an alias) is visible in the frontend picker
3. when multiple lines are used in the backend, the frontend picker must be used. A frontend picker with one choice is useless, as well as multiple lines without frontend picker
« Last Edit: June 16, 2009, 09:45:25 AM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #37 on: June 16, 2009, 05:23:00 PM »

Oh, that's great to hear Frank!! Very nice  grin
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
BlackTiger

Offline Offline

Posts: 166


« Reply #38 on: June 16, 2009, 05:26:21 PM »

Hi Frank,

thank you very much for this nice module. I'm only using it for a single page form but I like the new type of fields and the grouping function.

By using the module I was confronted with two problems:

I wanted to put some areas of text and used the fieldtype heading for this but there is a limitation of 255 chars. I helped me out by putting the text directly in the template field but this is more a kind of a hack. It would be nice to have a bigger text field for such case. BTW: You can fill the field with 257 chars but only the first 255 find the way to the database.

Second topic are the emails I receive. I get a \n at the beginning of each new line. I solved this problem by replacing the following line 195 of view.php:

Code:
$htmlmessage = preg_replace('/[\r\n]/', '<br />\n', $message);

with

Code:
$htmlmessage = preg_replace('/[\r\n]/', "<br />\n", $message);

I don't know if this was a specific problem in my environment.

regards
Michael
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #39 on: June 16, 2009, 06:32:56 PM »

For large texts just use another title field directly after wink
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
BlackTiger

Offline Offline

Posts: 166


« Reply #40 on: June 16, 2009, 06:50:12 PM »

Hi Frank,

Your method is exactly what I recommended for this case in the tutorial

ups - I went threw the tutorial twice but obviosly I did not read exact enough - sorry. BTW it would be nice to have a "normal" documentation for people who went threw the tutorial, because filling out the tutorial forms each time you want to read the docs is a little bit too much for lazy people like me. Wink

@Argos: this was my first idea but I my sentences were too large so that I got them parted, that does'nt look very nice. The solution with the template field works good for me and I agree with Frank: Changing the database column just for this subject makes no sense.

regards
Michael
Logged
BlackTiger

Offline Offline

Posts: 166


« Reply #41 on: June 16, 2009, 09:44:49 PM »

Hi Frank,

Have you ever tried the HELP button in the backend?

you got me  grin

I never tried this way of getting information - shame on me!

The help behind the button is great and even in german too - thanks for this superb work.

regards
Michael
Logged
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #42 on: June 21, 2009, 12:55:03 AM »

how are the chances that I can include the language file NL.php you promised into the next version of MPForm tomorrow?

Sorry Frank, couldn't make it Saturday, but here it is...

Regards,
Jurgen
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #43 on: June 23, 2009, 11:49:43 AM »

I'm working on it. I also noticed some strange translations in the regular WB Dutch language file as well (the form uses some of those translations). I will update that file too.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #44 on: June 23, 2009, 02:38:42 PM »

Here is the new language file.

I noticed a bug in the file at AMASP. It doesn't accept multiple email addresses per line yet. In the info.php file it says:
Quote
now multiple email addresses in one line in the backend are allowed as follows:
Recipient X <address1,address2,address3>

But it doesn't work yet. If you enter more than 1 address, and save the settings, the field will be emptied. I also am a bit confused about this info. My idea was not to enter multiple addresses to 1 recipient, but multiple addresses for multiple recipients.
Not: Recipient X <address1,address2,address3>
But: Recipient X <address1>,address2,address3

So addresses 2 and 3 belong to recipients Y and Z, not to X.

There is also a little layout error in the backend_modify_sett ings.htt file. In the table for the email settings for the admin, the TD widths are not set. Adding the width="30%" and "70%" parameters will correct this.
« Last Edit: June 23, 2009, 02:47:25 PM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #45 on: June 23, 2009, 11:58:36 PM »

You need to enter email addresses exactly as I wrote in the help and info files.
This way it works, and only this way.
This way it is less confusing than your proposal, because now:
  • What you enter before "<" will be visible in the frontend
  • The comma separated list of email addresses between "<" and ">" is the list of addresses which will receive the email.
    It must not contain spaces.

I don't see what your notation would buy the end user, except it is more complicated?

Hi Frank,

I'm sorry but I actually think your setup is more complicated. I had to try several times before I got it right even after I read your post, which shows that it's not intuitive. I found out you HAVE to use brackets when using more than 1 address, even when you don't use a name in front of it. This is not user friendly. Why not just put addresses after each other without the brackets? The brackets are only needed if you want to show a name in the frontend name picker.

And my idea was to give only the first address a name, hence only the first address needs brackets in that case. So that's why I thought it would work like:
A name here<address1>,address2,address3
OR:
address1,address2,address3

The first address or address/name is the main recipient, the other addresses are the BCC's. That makes also more sense for the admin who is creating the form. The extra addresses can be at totally different and non-related domains, sites, or organizations. When you put them all together into brackets, that makes no sense. Using brackets around all addresses together, preceded by a name, would only make sense if they would be aliases.
« Last Edit: June 24, 2009, 12:03:23 AM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2084


WWW
« Reply #46 on: June 24, 2009, 12:32:37 PM »

you had to try several times because you did not use the examples from the help - they show what is allowed.
To be honest I didn't know there was a help. But now I found the Help-button, although it doesn't work. I looks for a Dutch file, which is not there (I will translate it when I find the time). But even the English file doesn't work when I try to call it directly in my browser, but that may have to do with my .htaccess settings.

Quote
Quote
Why not just put addresses after each other without the brackets? The brackets are only needed if you want to show a name in the frontend name picker.
If you do not want the user let choose the recipient, you can just put one email address on each line.
Eh... I'm not sure how that is a reply on my remark... Anyway, I tried several address, one per line, and it fails. The script puts them all behind each other like info@maydomain.comsupport@domain.comsales@somewheere.net. And of course that doesn't work, and you get a failed delivery massage from the mail server.

Byt the way, In view.php there is a line that is shown when you forget to choose a recipient (if a frontend address picker is used):
Code:
echo "<br />deafault: $recip<br />\n";

First of all there is a typo. It's "default". But actually I don't understand why this line is shown anyway. Because the error message that follows is clear enough, and this line just adds confusion in my opinion. I think it can be removed.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
spida

Offline Offline

Posts: 203


« Reply #47 on: August 05, 2009, 10:22:04 PM »

Hi Frank,

thank you for this nice module!

Just one issue I have: German Umlaute are displayed correctly on the website, but not in the E-Mail. What can I do about it?

Cheers,
spida
Logged
Bramus
Forum Team
*****
Offline Offline

Posts: 600


WWW
« Reply #48 on: August 08, 2009, 12:52:16 PM »

Did any one test this module in WB 2.8? Really like to know if it works, i dont have the right resources to test it myself right now thats why i'm asking.

Thanks Smiley
Logged

BRAMUS Internet Services
erpe

Offline Offline

Posts: 2077


WWW
« Reply #49 on: August 08, 2009, 01:30:50 PM »

Hi Bramus

I did it with RC 1 yesterday.
It works, but a little tricky with css.

rgds

erpe
Logged

Pages: 1 [2] 3 4 ... 8   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!