Hello and first things first, thanks for this great project.
Data:
A multi page Form that doesn't go "next" page when pressed the "Next" button (obvious). Here are the details:
I set up a List / Form with several groups (and elements) with Page Break.
When everything is set up I try the Form on my front page in two ways, both with issues:
Data:
- Joomla:
- Joomla 5.1.0 updated from a clean installation of Joomla 5.0
- Cassiopeia Template
- Fabrik 4.0 plus the updated file from github for J!5.1 as stated in the sticky announcement on top of forum.
A multi page Form that doesn't go "next" page when pressed the "Next" button (obvious). Here are the details:
I set up a List / Form with several groups (and elements) with Page Break.
When everything is set up I try the Form on my front page in two ways, both with issues:
- Option 1: New Menu entry of type Fabrik > Form, resulting in a Link:
- index.php?option=com_fabrik&view=form&formid=4
- This menu entry has another menu entry as Parent Item, lets call it: "parentmenu"
- When I go this and click on Next button I get the next error in the Firefox console (time 09:23:38.851):
- XHR POST https://domain.com/parentmenu/index.php?option=com_fabrik&format=raw&task=form.ajax_validate&form_id=4
- 404 Not Found
- My guess is that parentmenu should not be there.
- So then I try to put the menu with no parent.
- After some time (time 09:28:15.389) I also get:
- XHR POST https://domain.com/component/ajax/?format=json
- 403 Forbidden
- Option 1b: So I try to place and save the menu with "No parent", so it's first level in the main menu, same test, I click on Next button and this is what I get in the Firefox console (time : 09:33:30.153):
- Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
- form.js:723:30 (SyntaxError: JSON.parse: bad parsing)
- I'm also get this warning:
- Error en el mapeo fuente: request failed with status 404
URL del recurso: null
URL del mapa fuente: installHook.js.map
- Error en el mapeo fuente: request failed with status 404
- And also some time later:
- XHR POST https://domain.com/component/ajax/?format=json
403 Forbidden
- XHR POST https://domain.com/component/ajax/?format=json
- Option 2: I place the form inside an article via "{fabrik view=form id=4}" and then the menu will be of single article type, check if this make any difference. I get same results as with option 1a and 1b.
- I haven't placed any Validations on any elements, so no validation.
- First group only had a checkbox (with no validation) and ready to go Next to the second group.
- In the Form options, Form processing I have Ajax validation to "No".