Tagged articles
Form Validation
27 articles · Page 1 of 1

liandkMay 19, 2026 · Frontend Development
This article provides a complete Vue 3 single‑file component using Element Plus that demonstrates a unified layout container with breadcrumbs, a searchable table, pagination, form validation, dialogs, file upload, and a tree‑style menu, all ready to copy and use without configuration.
Element PlusForm ValidationLayout
0 likes · 11 min read

This guide explains how to use PHP functions to validate required fields, email and phone formats, and filter HTML, special characters, and SQL injection, providing practical code examples that help developers ensure safe and reliable form data handling.
BackendData FilteringForm Validation
0 likes · 4 min read

This guide explains how to use PHP functions to validate required fields, email formats, phone numbers, and to filter HTML tags, special characters, and SQL injection, providing practical code examples that enhance form security and data integrity.
BackendData FilteringForm Validation
0 likes · 4 min read

This guide explains PHP’s built-in empty() function, detailing the exact cases where a variable is considered empty, providing clear code examples, showing expected output, and offering practical tips for using empty() in form validation while highlighting its limitations compared to isset().
Form Validationemptyphp-functions
0 likes · 4 min read

This guide explains how PHP’s is_numeric() function checks whether a variable is numeric, demonstrates usage with various data types and form inputs, highlights edge cases like trailing decimal points, and provides clear code examples for reliable validation.
Form Validationis_numericnumeric validation
0 likes · 3 min read

This article explains how using JSON Schema as a single source of truth can drive both front‑end rendering and back‑end validation in Java SpringBoot applications, eliminating duplicated validation logic, reducing maintenance costs, and enabling dynamic, versioned forms with real‑time user feedback.
Form ValidationJSON SchemaSpringBoot
0 likes · 12 min read

This article explains how PHP’s built‑in empty() function determines whether a variable is considered empty, lists the specific cases it treats as empty, provides practical code examples, and offers guidance on proper usage versus isset() for form validation and logical checks.
Form ValidationPHPbackend development
0 likes · 4 min read

This article explains how the @Valid annotation in Spring Boot can automatically enforce bean validation, replace verbose manual checks, support custom validators, and greatly reduce boilerplate code when handling complex form inputs in backend applications.
@ValidForm ValidationJava
0 likes · 8 min read

This article explains how to use PHP functions to validate required fields, email and phone formats, and to filter HTML tags, special characters, and prevent SQL injection, providing clear code examples for each technique.
Data FilteringForm ValidationPHP
0 likes · 4 min read

This article explains how to use PHP functions to validate required fields, email and phone formats, and to filter HTML tags, special characters, and SQL injection, providing code examples that improve form data security and reliability in web applications.
Form Validationdata-filtering
0 likes · 5 min read

This article explains how premature or overly aggressive error messages can frustrate users, outlines Nielsen's relevant usability principles, and provides practical guidelines with real‑world examples to help designers display errors only when necessary and use error styling appropriately.
Form ValidationUI designUsability
0 likes · 13 min read

Vorms is a 12KB, TypeScript‑based form validation library built with Vue 3's Composition API that offers strong typing, tree‑shakable size, easy integration, and flexible support for Yup, Zod and custom rules, making form handling both simple and powerful.
Composition APIForm ValidationTypeScript
0 likes · 5 min read

This article details the design, data structure, and implementation of a reusable conditional filter tree component using Vue2 and Vue3, covering node addition, deletion, relationship handling, form validation, and provide/inject communication, along with code examples and discussion of challenges and future improvements.
Conditional FilterForm ValidationProvide/Inject
0 likes · 29 min read

This article explains how React Hook Form, a React‑hooks‑based library, reduces form boilerplate, improves readability, and optimizes performance through built‑in validation, smart dependency tracking, and minimal re‑renders, providing code examples and a deep dive into its register implementation.
Form ValidationReact Hook FormRegister
0 likes · 16 min read

This article explains PHP's is_numeric() function, detailing its purpose, usage, return values, and special cases, and provides multiple code examples—including basic numeric checks, form input validation, and edge-case behaviors—to help beginner developers correctly determine whether variables are numeric.
Form Validationbackend developmentis_numeric
0 likes · 4 min read

This article explains essential PHP techniques for validating and filtering form inputs, covering required field checks, email and phone format validation, HTML tag stripping, special character escaping, and SQL injection prevention, with practical code examples for each method.
Data FilteringForm ValidationPHP
0 likes · 4 min read

This article explains PHP's built‑in empty() function, detailing the conditions under which it returns true, providing clear usage guidelines, and offering multiple code examples for variable checks, form validation, and common pitfalls.
Form Validationemptyvariable-check
0 likes · 5 min read

This article explains the principles and implementation details of Vue form validation, the generation of scoped data‑v‑xxx attributes, the composition of build output files, remote loading of .vue components, and how to create a dropdown menu using the render function, providing code examples and step‑by‑step explanations.
Dynamic ComponentForm ValidationScoped CSS
0 likes · 17 min read

This article provides a comprehensive PHP form validation tutorial, covering required and optional fields, validation rules using regular expressions, secure handling of user input with trim, stripslashes, and htmlspecialchars, prevention of XSS via $_SERVER['PHP_SELF'] sanitization, and includes complete example code for both the HTML form and processing script.
BackendForm ValidationPHP
0 likes · 9 min read

DripForm is an open‑source React form component from JD Retail iPaaS that offers configurable rendering, validation, and visual editing, enabling developers to efficiently build complex, dynamic forms with unified front‑end/back‑end validation, extensibility, and low‑code visual generation.
Form ValidationJSON SchemaReact
0 likes · 11 min read

This article explains what form validation is, why custom validation rules are needed in Vue projects using Element UI, and provides step‑by‑step code examples for binding rules and models, defining custom validators, and handling rich‑text content validation.
Element UIForm ValidationVue
0 likes · 4 min read


ByteFEOct 14, 2021 · Fundamentals
This article explains the Strategy Design Pattern, a behavioral design pattern that enables defining a family of algorithms, encapsulating each one, and making them interchangeable to improve code maintainability and flexibility in software development.
Form ValidationObject-Oriented DesignStrategy Pattern
0 likes · 7 min read

The article introduces the Vue v‑timely‑validate directive, explains how it shifts form validation from blur to change for faster error clearance, outlines form structure, validation principles, usage steps, and provides complete code examples for seamless integration into i‑form components.
DirectiveForm ValidationJavaScript
0 likes · 6 min read

This article walks you through Django's Form component, explaining how it generates HTML, validates input, retains data, and integrates with models, while providing step‑by‑step code examples for defining Form classes, handling GET/POST requests, rendering templates, and customizing fields and widgets.
DjangoForm ValidationForms
0 likes · 12 min read

NetEase Cloud Music’s frontend team created a JSON‑based form framework that extends Ant Design, offering async validation with error and warning states, reverse‑listener field linking, four exclusive form modes, flexible option loading, and performance‑optimized core‑render separation for complex B‑end applications.
Ant DesignB-end ApplicationForm Linkage
0 likes · 12 min read

Learn how to streamline Vue form development by applying five practical techniques—including universal validation, preventing duplicate submissions, managing loading states, resetting data on reopen, and prompting users before accidental navigation—each illustrated with Element‑UI code snippets to reduce bugs, cut communication overhead, and accelerate project delivery.
Element UIForm ValidationVue
0 likes · 8 min read

This article explains how to create flexible, schema‑driven web forms using Vue.js, covering requirements definition, backend data injection, component architecture, functional controls, event handling, and validation logic to replace traditional server‑rendered forms.
Component ArchitectureForm ValidationVue.js
0 likes · 14 min read
