You need to sign in to do that
Don't have an account?
Money Care 7
How to align the vf page
Hi Guys
I have created a Vf page like
but i am making mandatory the date field using required="true"
so how to arrange the field in same line when i am using required field...
I have created a Vf page like
<b>Start Date</b><apex:inputField value="{!j.From_Date__c}" /> <b>End Date</b><apex:inputField value="{!j.To_Date__c}" /> <apex:commandButton value="Go" action="{!displaingTable}" style="background:green"/> <b><apex:commandLink id="printable" onclick="JavaScript:window.print();" value="Print"/></b>
but i am making mandatory the date field using required="true"
<b>Start Date</b><apex:inputField value="{!j.From_Date__c}" required="true"/> <b>End Date</b><apex:inputField value="{!j.To_Date__c}" required="true"/> <apex:commandButton value="Go" action="{!displaingTable}" style="background:green"/> <b><apex:commandLink id="printable" onclick="JavaScript:window.print();" value="Print"/></b>
so how to arrange the field in same line when i am using required field...
U can Put this whole code in HTML Table like this
Ask me if You still have Problem or Please Mark as Best answer if it solves Your Problem
Thanks
Tarun Suri
Please refer to the below post for similar kind of issue.
https://developer.salesforce.com/forums/?id=906F0000000984FIAQ
http://salesforce.stackexchange.com/questions/94970/how-to-align-selectlist-in-vf-page
Please let me know if this helps you.
Best Regards,
Nagendra.P