New Page
WX Master Add Form Overview
This form is used to create a new service procedure in the WX system. It has 5 steps (tabs):
- Details
- Tasks
- Materials
- Readings
- Help
Each step collects specific information, and the form ensures data is valid before moving to the next step.
Step 1: Details
- Fields:
- Name: Mandatory, max 50 characters, must be unique.
- Description: Max 150 characters.
- Type: Dropdown (from WX settings).
- Sub-type: Dropdown (based on selected type).
- Rate: Numeric, max 10 characters.
- Tax Rate: Dropdown (from WX settings).
- No. of Field Staff: Numeric.
- SLA Matching Rules: Multi-select dropdown (from WX settings).
- Validation:
- If any field is invalid, an error message is shown (e.g., "Enter your name," "Length exceeds," "This name is already taken").
- On Submit:
- If valid, save data and move to the Tasks tab.
Step 2: Tasks
- Fields:
- Task: Max 50 characters.
- TAT (Time): In minutes.
- Skills: Multi-select dropdown (from WX settings).
- Photo Required: Dropdown ("Yes" or "No").
- Add/Delete Rows: Users can add or delete task rows (except the last one).
- Calculations:
- Est Efforts: Total time for all tasks.
- Downtime: Total downtime for all tasks.
- Validation:
- If task name exceeds 50 characters, show "Length exceeds."
- On Submit:
- If valid, save data and move to the Materials tab.
Step 3: Materials
- Fields:
- Name: Max 30 characters.
- Size: Max 30 characters.
- Quantity: Max 10 characters.
- Cost (Per Unit): Max 20 characters.
- Add/Delete Rows: Users can add or delete material rows (except the last one).
- Calculations:
- Total Material Cost: Sum of (Quantity * Cost) for all materials.
- Validation:
- If any field exceeds character limits, show "Length exceeds."
- On Submit:
- If valid, save data and move to the Readings tab.
Step 4: Readings
- Fields:
- Name: Max 30 characters.
- Unit: Max 30 characters.
- Minimum: Max 30 characters.
- Maximum: Max 30 characters.
- Photo Required: Dropdown ("Yes" or "No").
- Add/Delete Rows: Users can add or delete reading rows (except the last one).
- Validation:
- If any field exceeds character limits, show "Length exceeds."
- On Submit:
- If valid, save data and move to the Help tab.
Step 5: Help
- Fields:
- Help Type: Dropdown ("Instructions," "Video Link," "File").
- Instructions: Textbox, max 150 characters.
- Video Link: Textbox for link.
- File: Upload button.
- Help Type: Dropdown ("Instructions," "Video Link," "File").
- On Submit:
- If valid, save data and complete the form.
No Comments