WindmillWWindmill
Powered by
tl_jacobT
Windmill•5mo ago•
26 replies
tl_jacob

App: Required input fields

What is the recommended way of validating input fields when a button is clicked and before the underlying script/flow is called?

For example, I have an app with:
- several text inputs
- a button that triggers a script using the values from the text input fields
- each of the text inputs should be non-empty for the script to run correctly

I want to validate that the text inputs are non empty when a user clicks a button but BEFORE we call the script.
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Nested JSON schema required fields
inakiabtIinakiabt / help
3y ago
Saving to App State from File Input.
EggingtonEEggington / help
7mo ago
Content from flow input fields don't persist upon refresh
Bryan3BBryan3 / help
9mo ago
File input component & component re-rendering in app
DaanDDaan / help
15mo ago