Thanks Adrian for replay me... AM/PM is not needed but radio button beside datepicker is needed...I am unable to place date picker beside the radio button. when user selecting radio button only it allow the user to enter a value for datepicker .... that AM/PM functionality there in existing in application we need to develop same functionality ..... thanks in advance
Hello,
Why aren't you using the default salesforce datepicker(apex:inputField for a DateTime field)? Do you really need to have AM/PM separated?
Thanks,
Adrian
yeh, as @AdrianCC suggests, why not use a DateTime field.
Oh, sorry...
You were asking about the page layout.
Well, there are a few ways to doing it. You can use an apex:pageBlockSection with columns=2. Or use 2 <td> inside the same <tr>...
Can you post the code for the page as it is atm?
Thanks,
Adi