Could anyone help me with editing this code? It is exactly what I need, except I need to output the values to input text fields instead of displaying the results in a table?