Page 1 of 1

formbuilder/form browser email adress in database

Posted: Tue Feb 17, 2009 12:27 am
by durk
hello i have the following problem;

when i use the following field in formbuilder, *Email "From Address" Field, and send copy.
the email adress shows in the copy send to me.

but when i look it up in formbrowser i only see the first letter of the email adress.
also when i make an excel sheet it only shows the first letter.

the only field i use to store the field values is *Store Results in Database.

i use the latest versions of formbuilder/formbrowser and cms.

do i need another kind of field to store email adresses or do i need to change something to store the results.

Re: formbuilder/form browser email adress in database

Posted: Tue Apr 07, 2009 2:42 pm
by Rolf
Hi,

I've got the same problem  :-\
The mail address is correctly stored in the database.
But in formbrowser only the firstletter is shown.
Al other field are okay.
Something to do with the @...  ???

Hope somebody can help

Grtz. Rolf  :)


----------------------------------------------

Cms Version: 1.5.3
FormBuilder: 0.5.11
FormBrowser: 0.2.3

----------------------------------------------

Re: formbuilder/form browser email adress in database

Posted: Wed Apr 15, 2009 2:25 am
by psy
Hi

Have the same problem too. Any updates on a fix?

CMSMS: 1.5.2
Formbuilder: 0.5.5
Formbrowser: 0.2.3

Re: formbuilder/form browser email adress in database

Posted: Wed Apr 15, 2009 9:58 am
by NiGhMa
Hi all,

Have the same problem too.

CMSMS: 1.5.4
Formbuilder: 0.5.11
Formbrowser: 0.2.3

Re: formbuilder/form browser email adress in database

Posted: Mon Apr 20, 2009 11:30 am
by delamare
The same problem over here. A solution would be most welcome. Thanks!

Re: formbuilder/form browser email adress in database

Posted: Wed Aug 12, 2009 5:04 pm
by Rolf
Hi all,

Still having the same issues.

Have tried to reinstall the FormBrowser module on several ways, didn't make any difference.
Tried the same thing on a local machine and having the same problems there also.
The field 're-enter email' is shown correctly thought, but the plain 'e-mail' field isn't...

Anybody having a idea what to do next?

Grtz. Rolf  :)

----------------------------------------------

Cms Version: 1.6.3

Installed Modules:

    * CMSMailer: 1.73.14
    * FileManager: 1.0
    * MenuManager: 1.6.1
    * ModuleManager: 1.3.1
    * News: 2.10.2
    * nuSOAP: 1.0.1
    * Printing: 1.0.1
    * Search: 1.6.1
    * ThemeManager: 1.1.1
    * TinyMCE: 2.5.1
    * FormBuilder: 0.5.11
    * FormBrowser: 0.2.3
    * Album: 0.9.3
    * Captcha: 0.4


Config Information:

    * php_memory_limit: 60M
    * process_whole_template: false
    * max_upload_size: 8000000
    * default_upload_permission: 664
    * assume_mod_rewrite: true
    * page_extension: /
    * internal_pretty_urls: false
    * use_hierarchy: false


Php Information:

    * phpversion: 5.2.0-8+etch15
    * md5_function: Aan (Waar)
    * gd_version: 2
    * tempnam_function: Aan (Waar)
    * magic_quotes_runtime: Uit (Nee)
    * memory_limit: 60M
    * max_execution_time: 30
    * safe_mode: Uit (Nee)
    * session_save_path: /var/lib/php5 (1733)


Server Information:

    * Server Api: cgi-fcgi
    * Server Db Type: MySQL (mysql)
    * Server Db Version: 5.0.32


----------------------------------------------

Re: formbuilder/form browser email adress in database

Posted: Mon Sep 07, 2009 7:23 pm
by Rolf
Hi all,

Vilkis found the problem behind this issue:
http://forum.cmsmadesimple.org/index.ph ... w.html#new

The problem starts in FormBuilder and not FormBrowser...

Open file /modules/FormBuilder/classes/DispositionFromEmailAddressField.class.php

Change this:

Code: Select all

	function GetHumanReadableValue($as_string=true)
	{
		return $this->Value[0];
	}
Into:

Code: Select all

	function GetHumanReadableValue($as_string=true)
	{
		return $this->Value;
	}
Thanks again, Vilkis

Grtz. Rolf

Re: formbuilder/form browser email adress in database

Posted: Mon Sep 07, 2009 10:28 pm
by sjg
Actually, you'll want that to be

Code: Select all

		if (is_array($this->Value))
			{
			return $this->Value[0];
			}
		else
			{
			return $this->Value;
			}
gotta look out for the case where the user checked the checkbox.

That's the fix that's now in svn, and will be in the next release.

Re: formbuilder/form browser email adress in database

Posted: Mon Sep 07, 2009 10:33 pm
by vilkis
yeah, I didn't explore it so well. Thanks.
vilkis

Re: formbuilder/form browser email adress in database

Posted: Sun Nov 22, 2009 8:40 pm
by pigsound
could someone please tell me exactly what part of the php-script has to be replaced with your code? i tried to replace part of the script but nothing happened. i don't know anything about php-syntax and would be very glad if someone could help me out with this problem. so, where to put the following code exactly?
sjg wrote:

Code: Select all

		if (is_array($this->Value))
			{
			return $this->Value[0];
			}
		else
			{
			return $this->Value;
			}
thanks in advance,
pigsound

Re: formbuilder/form browser email adress in database

Posted: Mon Nov 23, 2009 6:54 am
by vilkis
Hi,
If you are not familar with php I suggest you not doing any modifications as you can lose support http://forum.cmsmadesimple.org/index.php/topic,28132.0.html
The best solution for you is to wait for new release of FormBuilder.
vilkis

Re: formbuilder/form browser email adress in database

Posted: Tue Nov 24, 2009 9:45 pm
by pigsound
thank you for warning me... i presume, that is the code how it should look after fixing the bug as described above. right? (above and below are the other php-functions to show the exact place of the bugfix within the php-script)

Code: Select all

	function GetValue()
  	{
    	return $this->Value[0];
  	}

	function GetHumanReadableValue($as_string=true)
	{
		if (is_array($this->Value))
			{
			return $this->Value[0];
			}
		else
			{
			return $this->Value;
			}
	}

	function DisposeForm()

Re: formbuilder/form browser email adress in database

Posted: Sun Nov 29, 2009 4:16 pm
by pigsound
well, tried the above code but didn't change anything. does anybody know any other solution to the prob?