I will be making a PR next week or earlier for this
but i would like to here any comments that may be helpful
please read on
Problem:
Forms with large number of fields can not be posted properly
because a usual limitation for max number of form fields via
-- PHP max_input_vars setting (e.g. 1000)
Joomla 's form JS
The above is not implemented and large forms can not be saved
Systems with PHP max_input_vars limition (e.g. a value of 1000)
How to do it
-- inside Joomla.submitform we attach an extra submit event handler.
NOTE:
so it is needed that we both
Process
on Server side we need to decompress the posted data so that they are an exact match of the original form and are identical as if form has not been serialized
i have already written code that does the above without using eval,
but i am placing it at afterInitialize event, if anyone tries to read posted input before this then it will not be possible
Labels |
Added:
?
|
Category | ⇒ | Fields |
@ggppdk George I think this might be handy: https://code.google.com/archive/p/form-serialize/downloads
But anyways, send your PR and let's take it from there
Status | New | ⇒ | Discussion |
Title |
|
Labels |
Added:
J3 Issue
?
|
Title |
|
Thank you for raising this issue.
Joomla 3 is now in security only mode with no further bug fixes or new features.
As this issue doesn't relate to Joomla 4 it will now been closed.
If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-23 22:33:25 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
?
No Code Attached Yet
Removed: ? ? |
Labels |
Removed:
?
|
@ggppdk just a note that core.js is native javascript, so whatever you're planing to submit shouldn't depend on jQuery. Other than that your approach should be solid