Web Forms are a versatile feature in iVendNext that enable businesses to collect structured data from customers, employees, or partners. Whether you need feedback forms, order requests, or service registrations, Web Forms can be tailored to meet your specific requirements. This guide provides a step-by-step approach to creating, customizing, and integrating Web Forms into your workflows.
Web Forms in iVendNext are dynamic interfaces that allow users to input data, which is then stored in a designated DocType. They are useful for:
Customer Feedback: Collect ratings and comments.
Surveys: Gather insights from users.
Order Processing: Capture order details.
Service Requests: Register support tickets.
No Coding Required: Built using a drag-and-drop interface.
Seamless Integration: Works with DocTypes and Notifications.
Customizable: Supports various field types and layouts.
Before creating a Web Form, you need a custom DocType to store submitted data.
Navigate to Customize > DocType > New.
Add relevant fields:
Dynamic Link Field: Connects the form to documents (e.g., Sales Order).
Rating Field: For feedback (e.g., 1–5 scale).
Text Fields: For comments or descriptions.
Go to Customize > Web Form > New.
Select the target DocType (e.g., "Feedback").
Drag and drop fields into the form layout.
iVendNext supports multiple field types for different use cases:
Enhance user experience by showing/hiding fields based on selections.
// Example: Show "Comments" only if rating is low
frappe.ui.form.on("Feedback", {
"rating": function(frm) {
frm.toggle_display("comments", frm.doc.rating <= 3);
}
});
Automate feedback collection by sending Web Form links via email:
Create a Notification under Settings > Notifications.
Use a dynamic URL: https://yourdomain.ivendnext.com/feedback?new=1&document=Sales%20Order&document_name={{doc.name}}
Replace your domain with your iVendNext instance.
{{doc.name}} auto-populates the linked document name.
Restrict access by assigning roles (e.g., "Customer").
Enable "Allow Editing After Submission" for corrections.
Keep It Simple: Limit fields to essential data.
Test Before Deployment: Preview forms to ensure functionality.
Monitor Responses: Use List View to analyze submissions.
Web Forms in iVendNext empower businesses to streamline data collection and improve user engagement. By leveraging customizable fields, dynamic logic, and automated notifications, you can create efficient forms tailored to your needs.