Tagged articles
Form
20 articles · Page 1 of 1

liandkMay 9, 2026 · Frontend Development
This tutorial walks through Uniapp form fundamentals, covering common components, v-model two‑way binding, validation rules, and complete login and registration implementations with code examples and troubleshooting tips for beginners.
FormUniAppV-model
0 likes · 8 min read

This article explores the inner workings of Ant Design Form, comparing the legacy HOC‑based implementation with the modern Hooks API, detailing state‑lifting, form store design, performance trade‑offs, and providing step‑by‑step code examples for building a custom form solution in React.
Ant DesignFormHOC
0 likes · 21 min read

This article explains how to implement debounce functionality and prevent duplicate form submissions in PHP using session storage, providing step‑by‑step code examples for creating a debounce helper, generating and validating tokens, and integrating them into web forms.
FormSessiondebounce
0 likes · 5 min read


JavaEdgeDec 29, 2024 · Frontend Development
This article explains how to create a robust Vue 3 form component using Element Plus, covering component hierarchy, data binding with model, rule definition with async-validator, provide/inject communication, and step‑by‑step validation logic with practical code examples.
@ComponentAsyncValidatorForm
0 likes · 19 min read

This article walks through the iterative design of an Ant Design form component, starting with a simple name field, then adding a randomly generated code field, making it editable, and finally implementing a copyable code input with reusable prefix‑text and suffix‑icon components, while comparing implementation approaches.
Ant DesignFormReact
0 likes · 13 min read

This article demonstrates a comprehensive approach to building reusable form and table components in Vue 3 using Element‑Plus, covering the design rationale, code examples for services, dialogs, list pages, and utilities, and discusses the benefits for development efficiency, maintainability, and scalability.
@ComponentElement PlusForm
0 likes · 24 min read

This article explains how a single Form instance centrally manages form data, uses subscription and notification mechanisms to update components, and demonstrates the Observer and Singleton design patterns with concrete React code examples for building efficient, maintainable frontend forms.
FormObserver PatternReact
0 likes · 9 min read

This article reviews practical guidelines for building maintainable Ant Design forms in React, covering layout strategies, dynamic form techniques, component encapsulation, table and tab implementations, CSS styling conventions, architecture considerations, and custom hooks to improve code quality and developer productivity.
Ant DesignDynamic FormForm
0 likes · 17 min read

This article analyzes why the reset button in an Element‑Plus form clears all fields instead of restoring the initial values, explains the underlying cause related to the onMounted lifecycle timing, and presents several practical solutions—including lifecycle adjustment, patch‑package, component extension, and repository forking—to reliably preserve initial form data in Vue projects.
Element PlusFormVue
0 likes · 7 min read

This article explains the internal logic of Flutter's editable text widgets, demonstrates how to customize input formatting, selection range, and cursor position using TextInputFormatter and EditableText, and shows best practices for building robust text forms with validation and global keys.
DartEditableTextFlutter
0 likes · 13 min read


政采云技术Jul 13, 2021 · Frontend Development
This article provides a comprehensive overview of rc-form, a React library used by Ant Design to manage form state, validation, and data collection, explaining why it is needed, its core APIs, practical usage examples, and a deep dive into its internal implementation.
Ant DesignFormReact
0 likes · 19 min read


ByteFEFeb 22, 2021 · Frontend Development
This article provides a comprehensive analysis of form handling in React, covering the fundamentals of forms, the official controlled and uncontrolled approaches, and a detailed comparison of major community libraries such as rc-form, rc-field-form, Formik, React‑final‑form, react‑hook‑form, and Formily, including code examples, performance considerations, and practical usage tips.
Controlled ComponentsFormFormik
0 likes · 45 min read

This tutorial walks you through creating a Django registration page using the built‑in Form component, demonstrating how to validate user input, display error messages, preserve submitted data, and compare a plain view implementation with a Form‑based approach.
DjangoFormPython
0 likes · 8 min read

This tutorial demonstrates how to create a ThinkPHP5 validation class, build a simple HTML form, and write a backend controller method to validate input data using scenes, providing step‑by‑step code examples for PHP developers.
ControllerFormPHP
0 likes · 3 min read

This article explains how zan-form, a configuration‑based plugin for the zent UI library, simplifies creating and maintaining complex dynamic forms in React by using JSON definitions, conditional visibility, remote data fetching, custom components, slots, and formatting hooks.
ConfigurationFormReact
0 likes · 10 min read


政采云技术Jan 19, 2020 · Frontend Development
This article analyzes the Antd Form component's implementation, explaining how it collects, validates, and updates form data through rc-form's FieldsStore, and discusses advanced patterns like nested fields, custom component integration, and form linkage.
Data ManagementFormReact
0 likes · 18 min read

This comprehensive guide explains Laravel's powerful form validation features, covering built‑in validation rules, quick validation examples, route and controller setup, handling validation errors, form request classes, custom error messages, conditional rules, array validation, and how to create custom validation rules using rule objects, closures, and extensions.
Custom ValidationForm
0 likes · 35 min read

A correction notice clarifies that the previous Vue.js form configuration article contained an error in the 'Implementation – External Elements' section, providing the updated HTML snippet and explaining that Vue.js slots should be used as child elements within components, with an apology to readers.
@ComponentFormHTML
0 likes · 2 min read

This article provides a detailed walkthrough of building controlled form components in React.js, covering text, number, checkbox, radio, textarea, and select inputs, along with state management, form submission, clearing, validation, and full source code examples.
Controlled ComponentsFormJavaScript
0 likes · 25 min read

This article demonstrates how to implement common WeChat Mini Program form controls—including picker, multi-select checkbox, slider, switch, and form submission—by presenting their code structures, event handling, and sample WXML/JS snippets, enabling developers to quickly integrate these interactive components into their apps.
FormSliderWeChat Mini-Program
0 likes · 3 min read
