fill form function
Add public functions documentation.