CMS MADE SIMPLE FORGE

CGBetterForms

 

[#11869] cgbf_myfieldname= giving error

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Fri Aug 03 20:10:57 -0400 2018

Assigned To:
Version: 1.6.1
CMSMS Version: 2.2.8
Severity: None
Resolution: Fixed
State: Open
Summary:
cgbf_myfieldname= giving error
Detailed Description:
The documentation says you can set a field value by using:
{CGBetterForms form='myform' cgbf_myfieldname='somevalue'}


But this doesn't work, and gives the following warning in the error log:
PHP Warning:  Parameter cgbf_myfieldname is not known by module CGBetterForms
dropped in /path/lib/classes/class.CMSModule.php on line 645

(form has a field with the name myfieldname)


History

Comments
avatar
Date: 2018-08-11 09:51
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
avatar
Date: 2018-08-28 09:16
Posted By: Daniele Buscioni (daniele.buscioni)

Just updated to 1.6.1 with cmsms 2.2.7

{CGBetterForms form='myform' cgbf_mycustomfield='test'} doesn't fill the input
field with "test" text.
It doesn't shows any error message, just leaves the input empty.
      
Updates

Updated: 2018-08-11 09:51
resolution_id: => 7