Home>Article>Backend Development> How to quickly generate modern forms with PHP

How to quickly generate modern forms with PHP

不言
不言 Original
2018-07-06 16:19:19 3335browse

This article mainly introduces the method of quickly generating modern form forms in PHP. It has certain reference value. Now I share it with you. Friends in need can refer to it

form-builder

PHP form generator, use PHP to quickly create modern form forms, including check boxes, radio boxes, input boxes, drop-down selection boxes and other elements, as well as three-level linkage of provinces and municipalities, time selection, date selection, color selection ,File/picture upload and other functions.

Github address | Composer address

The form is generated using the form-create js form generator

If it is helpful to you, you can click "Star" in the upper right corner to support it. Thank you !

This project is still under continuous development and improvement. If you have any suggestions or questions, please ask here

Installation

##composer require xaboy/form-builder

Example

How to quickly generate modern forms with PHP

Click to view the configuration properties of each component

Please configure in

config/config.phpformSuccessScriptProperties. Set it to the js code or js address after the form is submitted successfully, re-window.formCreate.formSuccessmethod (with