Git Product home page Git Product logo

form-builder-jquery-laravel's Introduction

Form Builder Script

This form builder script is a tool designed to create and manage forms within a Laravel environment using jQuery and Bootstrap 5. It enables users to easily construct forms through a drag-and-drop interface, preview them before saving, and store the resulting forms as JSON objects in a MySQL database via AJAX.

Features

  • Drag-and-Drop Interface: Build forms by dragging and dropping elements.
  • Bootstrap 5 Integration: Utilizes Bootstrap 5 for responsive and visually appealing forms.
  • Form Preview: Preview forms prior to finalization and saving.
  • AJAX Database Interaction: Seamlessly saves and retrieves forms from a MySQL database using AJAX.
  • JSON Storage: Stores forms as JSON objects in the database for easy editing and retrieval.

Todo

  • Add support for additional form fields:
    • Radio Buttons
    • Text Inputs
    • Date Field
    • Steppers
    • Conditional Inputs
    • Checkboxes
    • Dropdowns
    • Textareas
    • File Uploads
    • Range Sliders
    • Color Pickers
    • Time Pickers
    • Password Fields
    • Hidden Fields
    • HTML Blocks
  • Enhance form customization options.
  • Improve form validation and error handling.
  • Implement advanced form layout features.
  • Integrate SMTP support for email notifications.

Installation

  1. Clone the repository: git clone https://github.com/your-username/form-builder.git
  2. Navigate to the project directory: cd form-builder
  3. Install dependencies: composer install
  4. Configure your .env file with MySQL database credentials.
  5. Run migrations: php artisan migrate
  6. Serve the application: php artisan serve

Usage

  1. Access the application through your web browser.
  2. Drag and drop form elements to build your desired form.
  3. Preview the form to ensure it meets your requirements.
  4. Save the form, which will be stored in the MySQL database as a JSON object.
  5. Edit or retrieve saved forms at any time.

Database Structure

The forms are stored in the database in a table structure that includes the following fields:

  • id: Unique identifier for each form.
  • title: Title of the form.
  • json_data: JSON representation of the form structure.

Contributing

We welcome contributions! If you'd like to improve this project or add new features, feel free to fork the repository and submit a pull request.

Acknowledgments

  • Credits or acknowledgments for libraries, frameworks, or individuals whose work contributed to this project.

Support

For any inquiries or issues, please contact [email protected]

form-builder-jquery-laravel's People

Contributors

mianasadali1 avatar

Stargazers

Shahid Iqbal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.