Version 6.6.5 Source

Table Name: tabWeb Form

Fields

Sr Fieldname Type Label Options
1 title Data Title
2 page_name Data Page Name

Website URL

3 doc_type Link Select DocType DocType
4 column_break_4 Column Break
5 published Check Published
6 login_required Check Login Required
7 allow_edit Check Allow Edit
8 allow_multiple Check Allow Multiple
9 allow_delete Check Allow Delete
10 allow_comments Check Allow Comments
11 fields Section Break Fields
12 introduction_text Text Introduction
13 web_form_fields Table Web Form Fields Web Form Field
14 actions Section Break Actions
15 success_message Text Success Message

Message to be displayed on successful completion

16 success_url Data Success URL

Go to this url after completing the form.

17 advanced Section Break Advanced
18 web_page_link_text Data Web Page Link Text

Text to be displayed for Link to Web Page if this form has a web page. Link route will be automatically generated based on `page_name` and `parent_website_route`

19 breadcrumbs Small Text Breadcrumbs

In JSON as [{"title":"Jobs", "name":"jobs"}]


Controller

frappe.website.doctype.web_form.web_form

Class WebForm

Inherits from frappe.website.website_generator.WebsiteGenerator

get_context (self, context)

No docs


get_layout (self)

No docs


get_parents (self, context)

No docs



Public API
/api/method/frappe.website.doctype.web_form.web_form.accept

frappe.website.doctype.web_form.web_form.accept ()

No docs


Public API
/api/method/frappe.website.doctype.web_form.web_form.delete

frappe.website.doctype.web_form.web_form.delete (web_form, name)

No docs


frappe.website.doctype.web_form.web_form.get_web_form_list (doctype, txt, filters, limit_start, limit_page_length=20)

No docs


frappe.website.doctype.web_form.web_form.has_web_form_permission (doctype, name, ptype=read)

No docs