+ 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