+ Start a Discussion
janardhan mjanardhan m 

How to change the position of input text fields in Visualforce

I am try to change the positon of input text fields dynamically.i.e city3 in first position .
<apex:inputText value="{!city1}" />
<apex:inputText value="{!city2}" />
<apex:inputText value="{!city3}" />

Gattam Rakesh (SFDC)Gattam Rakesh (SFDC)
<apex:inputText value="{!city3}" />
 <apex:inputText value="{!city2}" />
<apex:inputText value="{!city1}" />
janardhan mjanardhan m

I want to change dynamically based on some other field or something like..with out  change the code postion.
sandeep sankhlasandeep sankhla
Hi Janardhan,

If field number are fixed and only position you want to change dynamically then we can achieve this...can you tell me based on whihc logic how fields should be looks like ? please let me know your detailed requirnmnet so I can help you out..

janardhan mjanardhan m
Hi Sandeep,
I have another VF page, here i have all fields of Sobject with check box and text fields(assign number for each field),based on the order of that number i have to dispaly input text fields in current VF page dynmically,Can you tell me how to change position of input text field in vf page you can assume any way i want to change the position.