[dev] Question to Horde Form Actions

Ralf Lang lang at b1-systems.de
Sun Jul 15 09:48:18 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>> Nag_Form_Task, Whups_Form_Query_PropertyCriterion, 
>>>> Whups_Form_Ticket_Edit, Horde_Config_Form
>>> Sorry for my late reply.. Well that helped a bit but I don't
>>> want to refresh the whole page. I just want to add a new field.
>>> I did a bit research and found that example:
>> 
>> You can only add new forms by reloading.
>> 
>>> http://wiki.horde.org/Doc/Dev/FormPackage Have a look at the
>>> "Example for the conditional_enable action." (2nd one)
>>> 
>>> I've tried that but every time I want to open the form on my
>>> browser it starts building everything but the other_text
>>> (screenshot attached). The Server error log shows the following
>>> line: PHP Fatal error:  Call to undefined method
>>> PEAR_Error::setValues() in 
>>> /home/karim/horde/framework/Form/lib/Horde/Form/Variable.php on
>>> line 514, referer: http://192.168.1.103/testform/
>> 
>> The action you added is an error object.
> 
> Sorry but that doesn't help me a bit.. could you please send me an 
> existing code-example so I can see the structure of adding,
> reloading and creating forms.
> 

Karim, they pointed you to existing code. Please look at Nag_Form_Task
how they do it there.



- -- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlACkeIACgkQCs1dsHJ/X7C46QCghc+U+zt002aSdWunNn9NODxt
MQ4An0pkccR4R49cU6Dj5EH6ghCJz/iy
=XlZk
-----END PGP SIGNATURE-----


More information about the dev mailing list