Search Results: "Write with OpenID" "Write post with name/password" slot
- All Results 660
- Guides 151
- Reference 509
- Technical Demos
- Support Center
Validate and Submit an HTML Form
: [ { type: "required" } ] }); $("#password").dxTextBox({ name: "Password", mode: "password" }).dxValidator({ validationRules: [ { type...-validator> </dx-text-box> <dx-text-box name="Password" mode="password"> <dx-validator> <dxi-validation-rule type="required"></dxi-validation-rule>
Licensing
": { "postinstall": "node add-devextreme-license" }, } Register the key within GlobalConfig and add the devextreme-license.ts file path to your project's .gitignore file. See the previous section... must purchase a license to use DevExtreme UI components/libraries within a software project. If you are ready to incorporate DevExtreme UI components/libraries in your project, please visit
ODataContext Methods
JavaScript var context = new DevExpress.data.ODataContext({ // ODataContext is configured here }); context.invoke("Add", { fieldName: "fieldValue" }, "POST"); Angular TypeScript import... is configured here }); this.context.invoke("Add", { fieldName: "fieldValue" }, "POST"); } } Vue App.vue <script> import ODataContext from 'devextreme/data/odata/context
dxValidator RequiredRule
() { $("#textBox").dxTextBox({ ... }) .dxValidator({ name: "Password", // The error message will be "Password is required" validationRules: [{ type: "required" }] }); }); Angular app.component.htmlapp.module.ts <dx-text-box> <!-- The error message will be "Password is required" --> <dx-validator name="Password">
Client-Side Settings
) // or "instantly" .UploadUrl("https://mydomain.com/MyUploadService") HTML form upload jQuery HTMLJavaScript <form action="https://mydomain.com/MyUploadService" method="post" enctype..." }); }); Angular app.component.htmlapp.component.tsapp.module.ts <form action="https://mydomain.com/MyUploadService" method="post" enctype="multipart/form-data"> <dx-file-uploader name="file