Dzięki
trueblue, właśnie tak zrobiłem tylko nie zdążyłem tu napisać

Zrobiłem to w ten sposób:
<div class="form-group col-md-6"> <input type="radio" name="nalot" value="" onclick="document.getElementById('Time').disabled=true; document.getElementById('km').disabled=false"> <input type="text" name="km" disabled="disabled" step="0.1" min="0" max="99999" id="km" class="form-control input-lg" placeholder="00000,0" value="<?php if(isset($error)){ echo htmlspecialchars($_POST['km'], ENT_QUOTES); } ?>" tabindex="4">
<div class="form-group col-md-6"> <input type="radio" name="nalot" value="" onclick="document.getElementById('Time').disabled=false; document.getElementById('km').disabled=true"> <label for="example-time-input" class="control-label">Time
</label> <input type="text" name="Time" disabled="disabled" id="Time" class="form-control input-lg" placeholder="35:15" value="<?php if(isset($error)){ echo htmlspecialchars($_POST['Time'], ENT_QUOTES); } ?>" tabindex="4">
Niestety jak wyśle formularz bez wyboru żadnej z opcji to sypie mi błędami:
D:\xampp\htdocs\..... in D:\xampp\htdocs\..... on line 39
Notice: Undefined index: Time in D:\xampp\htdocs\..... on line 40
linia 39 i 40:
$km = $_POST['km'];
$Time = $_POST['Time'];
W pierwszym placeholder mam:
<br /><b>Notice</b>: Undefined index: km in <b>D:\xampp\htdocs\.....</b> on line <b>158</b><br />
w Drugim:
<br /><b>Notice</b>: Undefined index: km in <b>D:\xampp\htdocs\......</b> on line <b>164</b><br />
Błędu nie ma w komórce którą wybiorę i wypełnię ale problem jest taki że to jest wybierane między jedną a drugą opcją przez radio więc któraś opcja musi być pusta

Czy możecie powiedzieć czemu tak się dzieje?