EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 04, 2024, 09:30:58 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 check the form is dirty or Not?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to check the form is dirty or Not? (Read 3629 times)
Aod47
Jr. Member
Posts: 83
How to check the form is dirty or Not?
«
on:
May 29, 2020, 11:14:48 PM »
I want to submit a form if form is dirty.
How to check it.
Could you please advice?
Thank you.
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: How to check the form is dirty or Not?
«
Reply #1 on:
May 30, 2020, 07:04:43 AM »
Normally, you can listen to the 'onChange' event. If this event fires, the fields may be modified and you should submit the form.
Logged
Aod47
Jr. Member
Posts: 83
Re: How to check the form is dirty or Not?
«
Reply #2 on:
June 02, 2020, 08:33:51 PM »
In some situation, user changed something on text field and then unchanged but onChange of textfield or combobox event has occurred already. So the form should not dirty.
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...