silverstripe-australia/editableuserforms 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

silverstripe-australia/editableuserforms

最新稳定版本:1.1.2

Composer 安装命令:

composer require silverstripe-australia/editableuserforms

包简介

Adds the ability to re-edit user form submissions, allowing users to come back to finish submissions

README 文档

README

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'

统计信息

  • 总下载量: 1.33k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-07-06