CMS Made Simple Forums
https://forum.cmsmadesimple.org/

FormBrowser User Record View is Empty
https://forum.cmsmadesimple.org/viewtopic.php?f=7&t=80647
Page 1 of 1

Author:  webform [ Thu Apr 18, 2019 10:54 pm ]
Post subject:  FormBrowser User Record View is Empty

I'm trying to display FormBrowser records in frontend and list view works just fine and i'm getting all records. But Record View is empty!

I'm using default User List Template and User Record View Template.

I've tried to see info on the template vars with <pre>{$resp|print_r}</pre> but output is empty
\$1:
stdClass Object
(
    [values] => Array
        (
        )

    [names] => Array
        (
        )

    [fieldsbyalias] => Array
        (
        )

)
1

Are i'm forgetting activating something or is this a bug in the FormBrowser User Record View Template?

And i should mention i've tried to use both Simple Browser Type and Advanced Browser Type and display is set for fields in both list view and user record view.

And i've also tried to call the fields directly like {$resp->names[1]} and {$resp->values[1]} to no avail.
----------------------------------------------
Cms Version: 2.2.10
FormBrowser: 0.5
FormBuilder: 0.8.1.6

Author:  webform [ Sat Apr 20, 2019 10:55 am ]
Post subject:  Re: FormBrowser User Record View is Empty

OK! After a lot of testing, i've found out its the selected Form in the Form Browser is the problem. Any other form works just fine in displaying the User Record Detail.

Now i just have to find out why this particularly Form is causing problems in displaying User Record Detail but have no problem listing all posts in the User Record List (and with all fields in the Form visible). ???

Author:  webform [ Sun Apr 21, 2019 10:55 am ]
Post subject:  Re: FormBrowser User Record View is Empty

I've found the problem (but not the solution);

If the Form Builder form uses "Store result in FormBrowser with Frontend User Binding", FormBrowser won't show any User Record Detail.

If i disable Frontend User Binding for the form, the User Record Detail is showing.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/