You need to sign in to do that
Don't have an account?
Chamil Madusanka
Need a help for Visualforce form
How can I create a form in like this way. This is in a Contact standard page. In here Title and first name are two fields. But they are apear in single line. How can I create this in visualforce?
Hi Chamil,
I cannot see your screen shot, but from your post I think you want to merge the Salutation and First Name.
Try this to merge the fields...
Under PageBlock Section Add this code..
Hope this helps...
Regards,
Shravan
All Answers
Hello chamil,
what you want to do ? do you want to create this field in single line ?
Hi,
Yes, I want to create two fields in single line. For a example,
Title and the name in single line. Title will be a pick list and name will be a textbox. But the lable must be "Name"
I think you can see a screen shot.
Hello chamil,
If you want to create field in single line you can use pageblocksection. in that column attribute is there so give column="2".
But pageblocksection haven't column attribute. Here is my code snippet. Here I got two columns for fields. But Title and the firstname fields must be apear as the screen shot?
Hi Chamil,
I cannot see your screen shot, but from your post I think you want to merge the Salutation and First Name.
Try this to merge the fields...
Under PageBlock Section Add this code..
Hope this helps...
Regards,
Shravan
Hi Shravan,
Thank you very much. It helps to continue my works.
--
Chamil Madusanka