问题
I want to use runInputPost on an existing form with a file input tag. fileAFormOpt exists for AForms, but how can I do the same with an IForm since there is no fileField type?
回答1:
I would recommend using lookupFile for that use case.
来源:https://stackoverflow.com/questions/12811776/what-is-the-iform-equivalent-to-fileaformopt