I have an administrative form that allows a user to set the save location of a file. I'd imagine that valid locations would be
/foo/bar/foo. What is the proper form field type to use in this situation, and would this option provide validation or would I have to write it myself?
My initial thought was to use a
path field, but I'm not really sure how that would handle public/private paths. Would I need to convert those to routes somehow before passing the value through? I guess I'm also not sure if it's even possible to save a file outside of the public/private folders.