WeChat Mini Programs's authorization of obtaining user information

wrote a form submission page, want to do such a requirement, click the button, first verify that the form data format is correct, if correct, and then prompt the user to authorize the pop-up window. However, now I am using the bindgetuserinfo= "getUserInfo" method on the button button. Can I achieve the function I want to do?

Aug.12,2021

seems to be impossible. What I did before was to add a page authorization to a separate page. If there is a solution, please tell


to think of a very mysterious solution, make a judgment in the out-of-focus event of the form, check the form, and modify a value to control the open-type, of button. Button is written as
`< button open-type= "{{flag?': 'getUserInfo'}}" lang= "zh_CN" bindgetuserinfo= "onGotUserInfo" > get user information < / button >
`

Menu