Search Results: "Write with OpenID" "Write post with name/password" slot

Validate and Submit an HTML Form

Guides

: [ { 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

Guides

": { "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

Reference
This section describes the methods that control the ODataContext.

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

Reference
A validation rule that demands that a validated field has a value.

() { $("#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

Guides

) // 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