You will find in this tutorial information and examples on how to create a inputform to be added to a PMV command.