WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-159777-21.MAI' (Errcode: 28 "No space left on device")]SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 106396 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC
Topic: form-validation for a large number of field with the same content-type but different names.
Hi, i have to validate a large number of fields (up to forty) in several forms (10). all have only 3 differnet content-types (double, integer and text). How can i solve this without a "definition" for each field?
name: { <<< bind this to a type, not to a name??? presence: true, length: { minimum: 3, message: "Please enter valid Name" }, format: { pattern: "[a-z]+", flags: "i", message: "Please enter valid Name" }, },
Thx for help, Andi
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.13.0
- Device: All
- Browser: Chrome
- OS: Mac OS
- Provided sample code: No
- Provided link: No
Mateusz Łubianka staff commented 6 years ago
Hi @a_luedke,
please, create a snippet showing your problem here: https://mdbootstrap.com/snippets/. I'll try to help you.
Best,