<form id="form_id" method="post">
<input type="radio" placeholder="OPTICAL_POWER" name="OPTICAL_POWER" value='+1.00'><br>
<input type="radio" placeholder="OPTICAL_POWER" name="OPTICAL_POWER" value='+10.00'><br>
<button type="submit" name="sub">Ok</button>
</form>
window.addEventListener( 'DOMContentLoaded', function() {
var form = document.getElementById( 'form_id' );
Array.from( document.getElementsByTagName( 'input' ) ).map( function( el ) {
if ( el.type == 'radio' && el.parentNode == form ) {
el.addEventListener( 'change', function() {
form.submit();
} );
}
} );
} );