function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DannyK89DannyK89 

Input Field under another input field

On a custom visual foce page I would like one input field to appear under another kind of like a login screen. Does anyone know how one would go about doing that?

Best Answer chosen by Admin (Salesforce Developers) 
osamanosaman

<apex:inputField id="Name" value="{!acc.Name}"/>

<br/>

<apex:inputField id="website" value="{!acc.website}"/>

 

 

Thats the solution I can think of from your description.

All Answers

osamanosaman

Can you explain a bit further?

DannyK89DannyK89

OK, so you know how when you have a login screen the Password field is directly under the UserName field. That is what I would like to do. 

osamanosaman

<apex:inputField id="Name" value="{!acc.Name}"/>

<br/>

<apex:inputField id="website" value="{!acc.website}"/>

 

 

Thats the solution I can think of from your description.

This was selected as the best answer