<input name="question" type="text" required="required" />

Required inputs like sample don't work in webview.

Should i use a javascript solution for this or is there an other way to make them working in webview?

有帮助吗?

解决方案

Android does not support required attribute in webview, you should use javascript to validate the input.

Reference: http://caniuse.com/#feat=form-validation

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top