formbuilder/form browser email adress in database

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
durk
New Member
New Member
Posts: 4
Joined: Sat Mar 10, 2007 8:11 pm

formbuilder/form browser email adress in database

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: formbuilder/form browser email adress in database

Post 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

----------------------------------------------
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: formbuilder/form browser email adress in database

Post 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
NiGhMa
Forum Members
Forum Members
Posts: 16
Joined: Wed Jul 25, 2007 8:13 am

Re: formbuilder/form browser email adress in database

Post by NiGhMa »

Hi all,

Have the same problem too.

CMSMS: 1.5.4
Formbuilder: 0.5.11
Formbrowser: 0.2.3
delamare
New Member
New Member
Posts: 7
Joined: Mon Apr 20, 2009 11:25 am

Re: formbuilder/form browser email adress in database

Post by delamare »

The same problem over here. A solution would be most welcome. Thanks!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: formbuilder/form browser email adress in database

Post 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


----------------------------------------------
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: formbuilder/form browser email adress in database

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm
Location: Los Angeles, CA

Re: formbuilder/form browser email adress in database

Post 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.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
vilkis

Re: formbuilder/form browser email adress in database

Post by vilkis »

yeah, I didn't explore it so well. Thanks.
vilkis
User avatar
pigsound
Forum Members
Forum Members
Posts: 67
Joined: Sun Jun 28, 2009 3:08 pm

Re: formbuilder/form browser email adress in database

Post 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
vilkis

Re: formbuilder/form browser email adress in database

Post 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
User avatar
pigsound
Forum Members
Forum Members
Posts: 67
Joined: Sun Jun 28, 2009 3:08 pm

Re: formbuilder/form browser email adress in database

Post 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()
User avatar
pigsound
Forum Members
Forum Members
Posts: 67
Joined: Sun Jun 28, 2009 3:08 pm

Re: formbuilder/form browser email adress in database

Post by pigsound »

well, tried the above code but didn't change anything. does anybody know any other solution to the prob?
Locked

Return to “Modules/Add-Ons”