Code Monkey home page Code Monkey logo

silverstripe-editableuserforms's Introduction

Allows users to re-edit submissions made from a userdefined form.

Requirement

Getting Started

  • Place the module under your root project directory.
  • dev/build
  • Create and configure an Editable User Defined Form page

Overview

Aside from the normal User Defined Form options, the module provides several additional configuration options

Config options

  • ShowSubmittedList - display the list of complete submissions the user has put together
  • ShowDraftList - display the list of in-complete submissions
  • AllowEditingComplete - Whether users should be able to edit 'completed' submissions
  • ShowSubmitButton - Whether the form should display the 'submit' button. If this button is not displayed, the form will automatically be 'submitted' (ie, marked as 'complete') when a user fills out all required fields
  • ShowPreviewButton - show the 'preview' button - a read-only version of the form for printing out
  • ShowDeleteButton - show the 'delete' button in form submission listings
  • ShowButtonsOnTop - show buttons across the top of the form as well as the base
  • LoadLastSubmission - loads the most recent 'draft' submission the user made when they land on the form page
  • SubmitWarning - text to display to the user when they click the 'submit' button
  • Workflow definition - if specified, a form submission will be sent to a workflow for approval

Fields

  • EditableTextFieldWithDefault - Provides a textbox field that can be pre-populated with a field value. For example, $Member.Email
  • EditableEmailFieldWithDefault - An email specific field extended from the TextFieldWithDefault
  • EditableMultiFileField - Allows for the upload of one or more files from the frontend using Dropzone. Note: the
    standard EditableFileField does NOT work for re-editable forms
  • FormSaveField - inserts a 'save' button into the form for users to incrementally save as they go

Workflow actions

  • SetPropertyAction - A workflow action that sets a value on a data object field when triggered. Used for marking form submissions as 'Complete'

silverstripe-editableuserforms's People

Contributors

jamesdpc avatar nyeholt avatar tardinha 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.