EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 19, 2025, 05:18:43 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
How to serverside validation in CRUD DataGrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to serverside validation in CRUD DataGrid (Read 6220 times)
kg
Newbie
Posts: 9
How to serverside validation in CRUD DataGrid
«
on:
February 16, 2016, 08:44:36 PM »
Hi All,
when I input student ID to CRUD DataGrid (add/update) record studentID field.
how to serverside validation studentID field?
thank you very much!
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How to serverside validation in CRUD DataGrid
«
Reply #1 on:
February 17, 2016, 01:59:13 AM »
In your server side, return the error message with 'isError' set to true when validation fails.
Code:
//server side code
echo json_encode(array(
'isError' => true,
'msg' => 'error message.'
));
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...