All Projects → Mindinventory → GenerateDynamicCustomForm

Mindinventory / GenerateDynamicCustomForm

Licence: MIT license
You can generate a dynamic form view in a few minutes for a signup, add a record. Creating a form is very easy.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to GenerateDynamicCustomForm

login-signup-form
A login and signup form using HTML, PHP, and MySQL. This form allows users to register and login. All information is stored in a MySQL database. After successful login the user is redirected to their dashboard. Project Website:
Stars: ✭ 40 (+122.22%)
Mutual labels:  signup, registration, register-form
Symfony-4-by-Samples
Symfony 4 by Samples is a personal project in which I will be creating small demos with tutorial in which to learn the symfony framework 4. Each of the samples contains a README.md file that indicates the purpose of the sample plus an step by step guide to reproduce it. Basic topics, login and register form, authentication, webpack encore, sass…
Stars: ✭ 40 (+122.22%)
Mutual labels:  registration, register-form
Django Rest Registration
User-related REST API based on the awesome Django REST Framework
Stars: ✭ 240 (+1233.33%)
Mutual labels:  signup, registration
contact-officials
Form definitions powering Resistbot's electronic deliveries to elected officials in the United States.
Stars: ✭ 29 (+61.11%)
Mutual labels:  form
lomake
HTML Form generator from Go structs
Stars: ✭ 12 (-33.33%)
Mutual labels:  form
enketo-core
The engine that powers Enketo Tools - Use it to develop your own enketo-powered app.
Stars: ✭ 74 (+311.11%)
Mutual labels:  form
Node-js-functionalities
This repository contains very useful restful API's and functionalities in node-js containing many important tutorial code for mastering node-js, all tutorials have been published on medium.com, tutorials link is given below
Stars: ✭ 69 (+283.33%)
Mutual labels:  signup
SwiftyExcelView
A View Look Like Excel & Form
Stars: ✭ 45 (+150%)
Mutual labels:  form
autoform
🤖📝 AutoForm is the simplest way to automatically generate fast, beautiful and standards/WCAG compliant HTML forms based on an Ecto Schema in a Phoenix Web Application to *significantly* speed up Web App Development. 🚀
Stars: ✭ 18 (+0%)
Mutual labels:  form
django-slack-oauth
Handles OAuth and stores slack token
Stars: ✭ 51 (+183.33%)
Mutual labels:  registration
react-file-input-previews-base64
This package provides an easy to use, ready to go and customizable wrapper around file input, with option for image previews and returning file as base64 string.
Stars: ✭ 15 (-16.67%)
Mutual labels:  form
Forms
Tracking our progress moving all city paper and pdf forms online.
Stars: ✭ 14 (-22.22%)
Mutual labels:  form
react-cool-form
😎 📋 React hooks for forms state and validation, less code more performant.
Stars: ✭ 246 (+1266.67%)
Mutual labels:  form
ReactSignupLoginComponent
The React SignupLogin Component is a drop in login/register/forgotPassword component to speed up development.
Stars: ✭ 30 (+66.67%)
Mutual labels:  signup
designable
🧩 Make everything designable 🧩
Stars: ✭ 2,156 (+11877.78%)
Mutual labels:  form
react-native-radio-buttons-group
Simple, best and easy to use radio buttons for react native apps.
Stars: ✭ 145 (+705.56%)
Mutual labels:  form
HipHop 2D3Dregistration
2D/3D registration between CT/MRI or STL models and X-ray images (November 2018)
Stars: ✭ 91 (+405.56%)
Mutual labels:  registration
form-data-json
A zero dependency, cross browser library to easily get or set/manipulate form input values as/from a json object.
Stars: ✭ 37 (+105.56%)
Mutual labels:  form
form
Flow Form Framework
Stars: ✭ 14 (-22.22%)
Mutual labels:  form
json-schema-js-gui-model
Handy gui model and associated translator that can be used to construct javascript UI forms from json-schemas
Stars: ✭ 19 (+5.56%)
Mutual labels:  form

Generate Dynamic Custom Form: Create your own form within a minute.

You can generate a dynamic form view in a few minutes for signup, add a record. Creating a form is very easy.

Preview

video

Table of content :-

Description

In this form there are various textFields like Username, email, Password, etc. it has validations also, if validation passes then user can submit form. If any validation doesn't pass then we are showing the validation using the label. The changes are reactive to the textField changes. User can also edit the form and can view changes.

Features

  • TextField with different types like email, password, mobile number, etc.
  • Profile Photo and Banner image selection.
  • TextView for Address field.
  • DatePicker for Date of Birth.
  • Picker for department selection.
  • ActionSheet for Gender selection.
  • PopUpView for selecting multiple/single values.
  • Multiple photos selection.
  • Switch control for toggling values.
  • Checkbox for accepting terms and conditions.
  • Submit button for saving data.
  • After Successful saving of data one can check entered data and also edit the data.

Usage

  • First create two enums one for Control Type and another one for TextField Type.
  1. In ControlType enum you can add cases for different controls like,

    • TextField
    • ProfileImage
    • Switch
    • TextView
    • CheckBox
enum ControlType {
    
    case checkBox
    case textField
    case profileImage
    case switchType
    case textView
    case multiPhoto
}
  • Based on that you can create different cells in TableView
  1. In TextField Type enum you can add cases for different TextField types like,

    • Normal Textfield
    • Password
    • Picker, date picker, etc.
enum TextFieldType: Equatable {
    
    case normal
    case password
    case dob
    case picker
    case actionSheet
    case selection(Bool?) // Pass true or false for Allowing multiple Selection
    case mobileNumber(Bool?) //Pass true or false for Country Flag
}
  • Based on that you can create different textfield with different keyboard type and inputView.
  1. After that create a Structure with two enums that we have created early and add additional properties based on your requirement like,

    • TextField value
    • Placeholder
    • Placeholder color
    • Keyboard type
    • Secure text entry, etc.
struct FormModel {
    
    var controlType: ControlType
    var txtFieldType: TextFieldType?
    var value: String?
    var placeHolder: String?
    var placeHolder2: String?
    var placeHolderColor: UIColor?
    var leftImgView: String?
    var rightImgView: String?
    var isEnabled: Bool?
    var isSecure: Bool?
    var keyboardType: UIKeyboardType?
    var isValid: Bool?
}
  • Based on this Structure you will be able to create a Model which will be used by Tableview.
FormModel(controlType: .profileImage), // Profile Image

FormModel(controlType: .textField, txtFieldType: .normal, value: "", placeHolder: placeHolderName, placeHolder2: "John Doe", placeHolderColor: .darkGray, leftImgView: "ic_user", rightImgView: nil, isEnabled: true, isSecure: false, keyboardType: .default, isValid: true), // Name

FormModel(controlType: .textField, txtFieldType: .normal, value: "", placeHolder: placeHolderEmail, placeHolder2: "[email protected]", placeHolderColor: .darkGray, leftImgView: "ic_email", rightImgView: nil, isEnabled: true, isSecure: false, keyboardType: .emailAddress, isValid: true), // Email

FormModel(controlType: .textField, txtFieldType: .password, value: "", placeHolder: placeHolderPassword, placeHolder2: "*******", placeHolderColor: .darkGray, leftImgView: "ic_password", rightImgView: nil, isEnabled: true, isSecure: true, keyboardType: .default, isValid: true), // Password

FormModel(controlType: .textField, txtFieldType: .mobileNumber(false), value: "", placeHolder: placeHolderMobNo, placeHolder2: "1234567890", placeHolderColor: .darkGray, leftImgView: nil, rightImgView: nil, isEnabled: true, isSecure: false, keyboardType: .phonePad, isValid: true), // Mobile number

FormModel(controlType: .textView, value: "", placeHolder: placeHolderAddress, placeHolder2: "21, Satelite Shopping Centre.", placeHolderColor: .darkGray, isEnabled: true, isSecure: false, keyboardType: .default, isValid: true), // Address (TextView)

FormModel(controlType: .textField, txtFieldType: .dob, value: "", placeHolder: placeHolderDob, placeHolder2: "DD/MM/YYYY", placeHolderColor: .darkGray, leftImgView: "ic_calender", rightImgView: nil, isEnabled: true, isSecure: false, keyboardType: .default, isValid: true), // Date of Birth (Date Picker)

FormModel(controlType: .textField, txtFieldType: .actionSheet, value: "", placeHolder: placeHolderGender, placeHolder2: "Select Male or Female", placeHolderColor: .darkGray, leftImgView: "ic_gender", rightImgView: nil, isEnabled: true, isSecure: false, keyboardType: .default, isValid: true), // Gender (Action Sheet)

FormModel(controlType: .textField, txtFieldType: .selection(false), value: "", placeHolder: placeHolderCountry, placeHolder2: "Select Conutry", placeHolderColor: .darkGray, leftImgView: "ic_flag", rightImgView: nil, isEnabled: true, isSecure: false, keyboardType: .default, isValid: true), // Countries India or Other

FormModel(controlType: .textField, txtFieldType: .selection(true), value: "", placeHolder: placeHolderHobbies, placeHolder2: "Select Hobbies", placeHolderColor: .darkGray, leftImgView: "ic_food", rightImgView: nil, isEnabled: true, isSecure: false, keyboardType: .default, isValid: true), // Hobbies (Multiple Selection View)

FormModel(controlType: .textField,txtFieldType: .picker, value: "", placeHolder: placeHolderDept, placeHolder2: "Select Department", placeHolderColor: .darkGray, leftImgView: "ic_dept", rightImgView: nil, isEnabled: true, isSecure: false, keyboardType: .default, isValid: true), // Department (Picker)

FormModel(controlType: .multiPhoto), // Multiple Photos

FormModel(controlType: .switchType), // Notifications (Switch)

FormModel(controlType: .checkBox) // Terms and Conditions (CheckBox)
  • After this you have to just pass enum case in cellForRow and accordingly pass model data into cell to generate Form. - Preview

By Apple

  • Xcode 12
  • iOS 11+

LICENSE!

GenerateDynamicCustomForm is MIT-licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].