>> it allows me to do the inputs, but it does not display the new inputs

Make sure you passed it by reference to the function.