This is the vf code <div class="form-group"> <label for="emp name" style="float:left;margin-left: 100px;font-size:20px">Employee Name <span style="color:red;">*</span>:</label> <apex:form> <apex:inputField value="{!employee.Name}" label="Employee Name :" styleClass="form-control" required="true"/> </apex:form> </div> <div class="form-group"> <label for="emp no" style="float:right;margin-right: 500px;font-size:20px">Employee No <span style="color:red;">*</span>: <apex:form> <apex:inputField value="{!employee.Employee_No__c}" label="Employee No :" styleClass="form-control" required="true"/></apex:form> I want to display the input box after the Employee No
<div class="form-group">
<label for="emp name" style="float:left;margin-left: 100px;font-size:20px">Employee Name <span style="color:red;">*</span>:</label>
<apex:form> <apex:inputField value="{!employee.Name}" label="Employee Name :" styleClass="form-control" required="true"/> </apex:form>
</div>
<div class="form-group">
<label for="emp no" style="float:right;margin-right: 500px;font-size:20px">Employee No <span style="color:red;">*</span>:
<apex:form> <apex:inputField value="{!employee.Employee_No__c}" label="Employee No :" styleClass="form-control" required="true"/></apex:form>
I want to display the input box after the Employee No
please use input filed tag to get input box after Employee No prefer below link to know about input fiel tag.
https://www.salesforcetutorial.com/visualforce-apexinputfield-tag/
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi