HI Nick,
Use a Custom code option to dump $this and look through the results. In CFv5 it was $form->form['Form']['title'] there will be a CFv6 equivalent.
Bob
Use a Custom code option to dump $this and look through the results. In CFv5 it was $form->form['Form']['title'] there will be a CFv6 equivalent.
Bob
Hi Bob
I have tried that - and will check again but so far having trouble finding it. I had wondered if there was a short code somewhere.
Thanks
Nick
I have tried that - and will check again but so far having trouble finding it. I had wondered if there was a short code somewhere.
Thanks
Nick
Hi Nick,
I dumped $this for the basic-contact form - all 4915 lines . . . and . . . try {data:chronoform} that seems to work in my test in the form Load page.
Bob
I dumped $this for the basic-contact form - all 4915 lines . . . and . . . try {data:chronoform} that seems to work in my test in the form Load page.
Bob
Nope. Not there. I think that somehow the problem is related to calling a CF6 form from a CC6 connection using
My dump of $this and $this->data from within the CF6 form look likes like this:
No reference to the form there. I will try using some other connection than {chronoform:edConvenerForm}
and see if that helps.
Regards
Nick
{chronoform:edConvenerForm}
My dump of $this and $this->data from within the CF6 form look likes like this:
[G2\A\E\Chronofc\H\Parser object] (unknown name) Tooltip
Properties
[G2\L\View object] View
[array] connections = (empty)
[array] data
[array] debug
[array] fevents
[array] functions
[array] locales = (empty)
[array] messages = (empty)
[string] pattern = "/{(event|view|function|fn|section|connection|chronoform|var|data|date|user|value|val|session|redirect|page|path|error|success|info|warning|stop|end|la..." (Length = 214)
[string] pattern2 = "/\((var|data|date|user|value|val|session|lang|language|l|uuid|rand|ip)([\/|\.][^:]+)?:([^}]*?)\)/i"
[boolean] stopped = FALSE
[array] vars
[array] views
[integer] viewslimit = 0
Methods
[array] (unknown name) Tooltip
[string] Itemid = "639"
[string] MorP = "M"
[string] comprofilerid = "1466"
[string] conn = "ManageConveners"
[string] event = "edit"
[string] option = "com_chronoconnectivity6"
[string] view = "connection"
No reference to the form there. I will try using some other connection than {chronoform:edConvenerForm}
and see if that helps.
Regards
Nick
Hi Nick,
Can you find it using the debugger ?
Best regards,
Max
Can you find it using the debugger ?
Best regards,
Max
Hi Max
No - though the form is loaded as you can see. And all of the tables are read OK in the form.
[attachment=58853_20170814071842_4max-png.png][/attachment]
I can give you access if you need to of course.
Regards
Nick
No - though the form is loaded as you can see. And all of the tables are read OK in the form.
[attachment=58853_20170814071842_4max-png.png][/attachment]
I can give you access if you need to of course.
Regards
Nick
Further to that, Max, if I replace that {chronoform:edConvenerForm} with a function using redirect all works fine. I can see the form information with debug.
And one other thing that I hadn't mentioned that may or may not be relevant. I couldn't get [Submit] to work using that {chronoform:edConvenerForm} approach. Nothing I put into the Submit event displayed. I didn't investigate further since I was switching to the redirect option. Reworks fine,
Nick
redirectTo("?option=com_chronoforms6&chronoform=edConvenerForm&comprofilerid=2626&MorP=M");
And one other thing that I hadn't mentioned that may or may not be relevant. I couldn't get [Submit] to work using that {chronoform:edConvenerForm} approach. Nothing I put into the Submit event displayed. I didn't investigate further since I was switching to the redirect option. Reworks fine,
Nick
Hi Nick,
I will check this further, glad you have it working now!
The next Connectivity update comes with the Chronoforms basic fields for better forms support.
Best regards,
Max
I will check this further, glad you have it working now!
The next Connectivity update comes with the Chronoforms basic fields for better forms support.
Best regards,
Max
This topic is locked and no more replies can be posted.