mellowplace / minacl Goto Github PK
View Code? Open in Web Editor NEWA forms library with no components! Purely design driven
License: GNU Lesser General Public License v3.0
A forms library with no components! Purely design driven
License: GNU Lesser General Public License v3.0
Specifically an error happened in cp1252
If you have a view template like:
The warning/fatal seems to be passed into SimpleXMLElement, so all you get is an XML parsing error.
All validators, apart from phRequiredValidator, should not fire if the value is empty
__toString methods if they throw exceptions mask the actual error that occurred because PHP rethrows something like:
Fatal error: Method phForm::__toString() must not throw an exception in /home/rob/html-forms/test/unit/phViewTest.php on line 433
This will occur when you try "echo $form;" and for some reason an exception is thrown.
It would be better to trigger an error with the original exception type, code & message.
If a set of checkboxes is defined on the form as an array fieldName[] for example, then minacl throws an error if none of them are checked (even without a validator being applied).
Message: Trying to bind a value that is not an array to interest
#0 C:\wamp\www\xxx\application\models\form\phForm.php(173): phSimpleArrayDataItem->bind(NULL)
#1 C:\wamp\www\xxx\application\models\form\phForm.php(252): phForm->bind(Array)
Unit tests fail on windows machines in phRenderingTest, whilst trying to download the DTD.
See http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic/
Could do with providing a local copy of the DTD in the tests
A decorator type validator that fires another validator if a condition is met e.g. if a field equals another value could be very useful.
It would cover off various scenario's such as firing different post/zip code validators depending on a chosen country.
Might be possible to abstract phCompareValidator and extend from it as it has alot of this equals, greater equals etc type behavior.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.