manojb, your last post has no relationship to the thread topic. You should really open up a new thread when you have new questions.
But to answer it, it appears that kdialog
is too limited to do what you want all at once. It only has a small selection of box options and isn't very configurable. Most of the gui dialog programs are limited to some extent.
is able to do it, however, with its --forms dialog.
zenity --forms --text="Enter your data" --add-entry="Name: " --add-entry="Age: " --separator=$'\n'