What is the IForm equivalent to fileAFormOpt?

2019-06-01 19:09发布

问题:

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.