- Open the Sencha Architect and click New Project to create a Web Form. Click here for Sencha Architect Tutorial.
- Choose the framework Ext JS 6.6.x Classic at the top-right of the New Project screen.
- Select the Blank Project and click Create.
Select the Form Panel from right hand Toolbox Panel and Drag and Drop to the center canvas.
Design a form by using Sencha drag-and-drop feature. Choose components from the right hand panel and drop them on the center canvas.
Select the field and search the Name attribute from the right hand attribute panel. Enter the Name which will appear in the JSON schema.
Create Submit button with the help of Project Inspector and Attribute Panel. To create Submit Button, follow these steps:
Drag and Drop the Button from right hand Toolbox Panel to the center canvas.
Rename the Button as required (e.g. Submit).
Right click the Submit Button in Project Inspector Panel.
Select the Event 'Click' from the drop-down list and provide Function Name.
Click Create Binding.
Click onButtonClick from Project Inspector Panel and add the code window.parent.Ext.ComponentQuery.query('transactionswrapper')[0].getController().submitWebForm(button.up('form')); in Code Tab.
To save the project, provide the path and click Save.
Click and select Build Settings from the drop-down list.
- Select Production as Environment and provide the publish path. Click Save and the application will appear with specified project name in the provided Publish Path.