Master Posted August 25, 2017 Report Share Posted August 25, 2017 How can I enable camera to take photo when uploading file from an input page on mobile phones? Quote Link to comment Share on other sites More sharing options...
MayMusic Posted August 25, 2017 Report Share Posted August 25, 2017 Add a Footer to Configure Fields screen and click on Source button to paste this code <script> var myInput = document.getElementById('InsertRecordPicture'); function sendPic() { var file = myInput.files[0]; } myInput.addEventListener('change', sendPic, false); </script> Picture needs to be changed to the file field name. Master 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.