Hi, sorry for my english.
I followed this guide bat does not work for me
How can I switch form pages in CFv5?
If I change the page from the radio box, the result is a blank page
Any suggestions?
thank you very much
Antonio
I followed this guide bat does not work for me
How can I switch form pages in CFv5?
If I change the page from the radio box, the result is a blank page
Any suggestions?
thank you very much
Antonio
Hi Antonio,
A blank page is usually a sign of a PHP Error, please set your Site Error reporting temporarily to Maximum and then see if you get a more helpful message.
Bob
A blank page is usually a sign of a PHP Error, please set your Site Error reporting temporarily to Maximum and then see if you get a more helpful message.
Bob
Hi Antonio,
Please set your Site Error reporting temporarily to Maximum and then see if you get a more helpful message.
Bob
Please set your Site Error reporting temporarily to Maximum and then see if you get a more helpful message.
Bob
Hi Antonio,
Site Admin > Global Configuration > Server > Error Reporting (I think that is the right place from memory).
Bob
Site Admin > Global Configuration > Server > Error Reporting (I think that is the right place from memory).
Bob
Perfect.
This is code error:
Notice: Undefined index: page_switch in /web/htdocs/www.canonservicesrl.it/home/administrator/components/com_chronoforms5/chronoforms/actions/event_switcher/event_switcher.php(26) : eval()'d code on line 2
Notice: Undefined offset: -1 in /web/htdocs/www.canonservicesrl.it/home/administrator/components/com_chronoforms5/chronoforms/actions/html/html.php on line 269
This is code error:
Notice: Undefined index: page_switch in /web/htdocs/www.canonservicesrl.it/home/administrator/components/com_chronoforms5/chronoforms/actions/event_switcher/event_switcher.php(26) : eval()'d code on line 2
Notice: Undefined offset: -1 in /web/htdocs/www.canonservicesrl.it/home/administrator/components/com_chronoforms5/chronoforms/actions/html/html.php on line 269
Hi Antonio,
The first one of those says that there was no value set for $form->data['page_switch']
Bob
The first one of those says that there was no value set for $form->data['page_switch']
Bob
Hi Antonio,
Please post a screenshot for the form setup section.
Best regards,
Max
Please post a screenshot for the form setup section.
Best regards,
Max
Hi Antonio,
The form setup looks ok, please add a "debugger" action above the "event switcher" and test the form once, what do you get in the debug results ?
Best regards,
Max
The form setup looks ok, please add a "debugger" action above the "event switcher" and test the form once, what do you get in the debug results ?
Best regards,
Max
Hi Antonio,
There is no value set there for page_switch - the radio button group appears to be called radio4.
Bob
There is no value set there for page_switch - the radio button group appears to be called radio4.
Bob
Hi Bob
This is a custom code
I enclose also the setting radiobox
Thanks
Antonio
This is a custom code
<div class="form-group gcore-form-row" id="form-row-radio4"><label for="radio4" class="control-label gcore-label-left gcore-label-checkbox">Radio Label</label>
<div class="gcore-input gcore-display-table" id="fin-radio4"><div class="gcore-single-column" id="fclmn"><div class="gcore-radio-item" id="fitem"><input name="radio4" id="radio4" value="page_2" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" checked="checked" />
<label class="control-label gcore-label-checkbox" for="radio4">Go to Page 2</label></div>
<div class="gcore-radio-item" id="fitem1"><input name="radio4" id="radio41" value="page_3" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio41">Go to Page 3</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-button5"><div class="gcore-input gcore-display-table" id="fin-button5"><input name="button5" id="button5" type="submit" value="Submit" class="btn btn-default form-control A" style="" data-load-state="" /></div></div><!--_CHRONOFORMS_PAGE_BREAK_--><div class="form-group gcore-form-row" id="form-row-custom"><label for="custom" class="control-label gcore-label-left">This is page 2</label>
<div class="gcore-input gcore-display-table" id="fin-custom"><p>This is page 2</p></div></div><!--_CHRONOFORMS_PAGE_BREAK_--><div class="form-group gcore-form-row" id="form-row-custom1"><label for="custom1" class="control-label gcore-label-left">This is page 3</label>
<div class="gcore-input gcore-display-table" id="fin-custom1"><p>This is page 2</p></div></div><!--_CHRONOFORMS_PAGE_BREAK_-->
I enclose also the setting radiobox
Thanks
Antonio
Hi bob,
I have read your previous post and I partly solved
This is my new custom code
if I select "Go to page 3" it always goes to page 2
I have read your previous post and I partly solved
This is my new custom code
<div class="form-group gcore-form-row" id="form-row-page_switch"><label for="page_switch" class="control-label gcore-label-left gcore-label-checkbox">Radio Label</label>
<div class="gcore-input gcore-display-table" id="fin-page_switch"><div class="gcore-single-column" id="fclmn"><div class="gcore-radio-item" id="fitem"><input name="radio1" id="page_switch" value="page_2" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="page_switch">Go to Page 2</label></div>
<div class="gcore-radio-item" id="fitem1"><input name="radio1" id="page_switch1" value="page_3" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="page_switch1">Go to Page 3</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-button4"><div class="gcore-input gcore-display-table" id="fin-button4"><input name="button4" id="button4" type="submit" value="Submit" class="btn btn-default form-control A" style="" data-load-state="" /></div></div><!--_CHRONOFORMS_PAGE_BREAK_--><div class="form-group gcore-form-row" id="form-row-custom"><label for="custom" class="control-label gcore-label-left">Custom Code</label>
<div class="gcore-input gcore-display-table" id="fin-custom">This is page 2 ciao</div></div><!--_CHRONOFORMS_PAGE_BREAK_--><div class="form-group gcore-form-row" id="form-row-custom1"><label for="custom1" class="control-label gcore-label-left">Custom Code</label>
<div class="gcore-input gcore-display-table" id="fin-custom1">This is page 3</div></div><!--_CHRONOFORMS_PAGE_BREAK_-->
if I select "Go to page 3" it always goes to page 2
Hi Antonio,
Something is wrong here - you shouldn't need to use Custom code for the radio box. Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Something is wrong here - you shouldn't need to use Custom code for the radio box. Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
Hi Antonio,
ChronoForms uses the Field name to identify the data so that needs to be set to page_switch
Bob
[attachment=270_20170323134333_2017-03-23-14-40-26-png.png][/attachment]
ChronoForms uses the Field name to identify the data so that needs to be set to page_switch
Bob
[attachment=270_20170323134333_2017-03-23-14-40-26-png.png][/attachment]
This topic is locked and no more replies can be posted.