Textfield validation (e.g. URL) for optional fields

Actions & Logic

I have a textfield (in a form) where Users can put an URL. This field needs to be optional, but I want to check it for a valid URL.

But to do that I need to turn validation in the form on and then the field is mandatory. Thats not what I want :D Is there an option to text-validate an optional text field?

Maybe I am just missing sth here?

Thanks a lot :D

What have you tried so far?
  • tried all options in the form validator and the input field

  • looked for actions on the widget when I submit

Did you check FlutterFlow's Documentation for this topic?
Yes
4
3 replies