Hello, I'm trying my hand at editing the character sheet for Trudvagn Chronicles (Shortened to TC from here on) to add skills that was in the swedish version. However, I'm a novice at code with no experience with HTML and I'm stuck on a problem I don't quite know how to solve. TC uses skills that goes from 0 to 5 but in the skill in the swedish version only have levels 3, 4 and 5. The skill gives +10 vitner (mana) for each level. The first idea I had was just taking the level minus 2 times 10 but that gives negative values which I don't want. I've also tried using an oninput="validity.valid||(value='');" But I only get it to freeze the value at -20. I don't know if it's possible to use "If, else" inside the value and how to really set it up. What I want is for it to display 0 when the level is below 3 and 10 times the level for 3 and above. If you have an idea on how to make this happen I would be super thankful. Below is the code I've currently have for the skill. The first line is for the level and the other is the bonus you get. <div class="sheet-row"><input type="number" min="0" max="5" name="attr_vitnercraftlevel14" value="0" class="sheet-stats-half"></div> <div class="sheet-row"><input type="number" min="0" disabled="true" name="attr_vitnercraftsv14" class="sheet-stats-half" value="((@{vitnercraftlevel14}-2)*10)"></div>