Hi Jan,
your post (https://www.appgini.de/docs/Javascript- ... ation.html) does not help me.
I am wondering if it is possible to validate a textfield on input (while the user types).
My purpose is to check for existing values, so that the user does not try to create a record but a "unique" field is not unique and saving fails.
I would like the user to be notified asap (enough, when he leaves the field).
(similar to this https://forums.appgini.com/phpbb/viewto ... the%20form. )
Thanks
Olaf
possible: validate on input?
possible: validate on input?
Some postings I was involved, you might find useful:
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Re: possible: validate on input?
You can always use a control's on-input or on-change event in javascript.
https://www.w3schools.com/jsref/event_oninput.asp
https://www.w3schools.com/jsref/event_onchange.asp
On-blur also helps sometimes.
https://www.w3schools.com/jsref/event_oninput.asp
https://www.w3schools.com/jsref/event_onchange.asp
On-blur also helps sometimes.
Kind regards,
Jan
AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
Jan
<js /> AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code] blocks for better readability Re: possible: validate on input?
HI Jan,
thanks. didn't think of this - any thought you may have something better.
Take care
Olaf
thanks. didn't think of this - any thought you may have something better.
Take care
Olaf
Some postings I was involved, you might find useful:
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Re: possible: validate on input?
on-input, on-change, on-focus, on-blur are THE "go-to-solutions" for event handling. Do not re-invent the wheel.
All wrappers in AppGini Helper Javascript Library would do nothing but the same: wrapping those event-handlers.any thought you may have something better.
Kind regards,
Jan
AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
Jan
<js /> AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code] blocks for better readability
