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
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
Hi,

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..

Thanks,
Sandeep
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.