Question

<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?

Was it helpful?

Solution

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

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top