Forums

Curly brackets doesn't work

Breakbeatz 25 Jun, 2014
Hello,

I tried my form now on CF V5, everythings fine, but the curly brackets doesn't work and I don't know why. You can test it here, theres just the output: {Fieldname}, in case of the Fieldname "Vorname" it doesn't show "Vorname", just {Vorname}:
http://www.uptodate-24.de/index.php?option=com_chronoforms5&chronoform=optiker_basis
Where is my mistake in the basic settings?
doromi 25 Jun, 2014
I can't see the problem - everything seems to be fine ?!?
Breakbeatz 25 Jun, 2014
Hi doromi,

no, if you go to the second page, there is under the textfield with the correct input a {vorname}, but here I would have the "Vorname" entered on the first page.
doromi 25 Jun, 2014
Try to put the name of the form in front of the field name
{formname.fieldname}
GreyHead 25 Jun, 2014
Hi BreakBeatz,

I only see a blank page when I submit the form which suggests that something else is broken.

Input names are case sensitive so if the name on Page 1 is Vorname you need to use {Vorname} to display it (not {vorname} as in your post here.

Bob
Breakbeatz 25 Jun, 2014
Hi Bob,

the blank page is on page 3. I need the values from the first page on the second and if that work on the third, where is noc input at this time, this coming after solving my problem.
The capital V is correct in my form, but it doesn't work. Could there a basic wrong setting on my installation? I tried the same with a new form, there it doesn#t work too: http://www.uptodate-24.de/index.php?option=com_chronoforms5&chronoform=testbrackets
On CF v4 it works without problems...
GreyHead 25 Jun, 2014
Hi Breakbeatz,

Can't tell much from the front-end. Are you using a Multi-Page action to pass the data to the second page?

Bob
Breakbeatz 25 Jun, 2014
Yes, I do. I use "post" on HTML (Render form), but I tried all other variables there, without success
GreyHead 25 Jun, 2014
Hi Breakbeatz,

I don't quite know what is happening. I added a Debugger (remove it when you are done) and the data is there OK. Using the PHP format
<?php echo $form->data['Vorname']; ?>
works OK but the curly brackets don't. Whether Max has removed this feature or there is some other explanation I have no idea (I looked for the code but couldn't find it).

I also tried testing the code in a Custom Code element in the Setup tab which also should work - but for some reason that didn't save - maybe the form has his a server limit?

Bob
Breakbeatz 26 Jun, 2014
Hi Bob,

thanks a lot! But now it's completly buggy: I can't save another setup, the event for Page3 wouldn't save...
Should I better renew my complete installation? I tried it on my testform "testbrackets", there it will work...
GreyHead 26 Jun, 2014
Hi Breakbeatz,

It's most likely that you have hit a server limit on the size of forms that can be submitted. Please see this FAQ for info from CFv4.

In CFv5 Max has added a Safe Save feature if you check the Settings icon | Wizard tab on the Forms Manager icons. I'm not clear exactly how it works but you might see if that solves this large form problem.

Bob
Breakbeatz 26 Jun, 2014
Hi Bob,

saving new events work now! I set the Safe Save to "yes" and the Safe loading count to 200, now I could save and the loadingtime to save is much shorter! The Brackets won't work after this...
This topic is locked and no more replies can be posted.