What is the best way to include a computed input field in my form?