• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: align form?

align form? 14 years 11 months ago #7526

  • splifen
  • splifen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
How can i align the form? http://icetech.centex.dk/index.php?option=com_rsform&Itemid=284&lang=en. if i for example want the form centered..? i would also like to make the form title smaller..

Regards Kenneth
The administrator has disabled public write access.

Re:align form? 14 years 11 months ago #7532

You can center form with CENTER tags or layer in it's layout or in article.
The administrator has disabled public write access.

Re:align form? 14 years 11 months ago #7536

  • splifen
  • splifen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
THX for your answer, but where would you change. i tried diffrent places... with no succes...


<script language="javascript">
function changeTab(currentTab,totalTabs)
{
  for (i=1;i<=totalTabs;i++){
    document.getElementById('tab'+i).style.display='none';
  }
  document.getElementById('tab'+currentTab).style.display='';
}
</script>
 
<div class="componentheading">{global:formtitle}</div>
<table border="0" id="tab1">
	<tr>
		<td>{Page 1:caption}</td>
		<td>{Page 1:body}<div class="clr"/{Page 1:validation}</td>
		<td>{Page 1:description}</td>
	</tr>
 
           <tr>
                  <td>{First Name:caption}</td>
		<td>{First Name:body}<div class="clr"/>{First Name:validation}</td>
		<td>{First Name:description}</td>
        </tr>
 
          <tr>
                  <td>{Last Name:caption}</td>
		<td>{Last Name:body}<div class="clr"/>{Last Name:validation}</td>
		<td>{Last Name:description}</td>
        </tr>
 
          <tr>
                  <td>{Title:caption}</td>
		<td>{Title:body}<div class="clr"/>{Title:validation}</td>
		<td>{Title:description}</td>
        </tr>
         <tr>
 
                  <td>{Company:caption}</td>
		<td>{Company:body}<div class="clr"/>{Company:validation}</td>
		<td>{Company:description}</td>
        </tr>
         <tr>
 
                  <td>{Address:caption}</td>
		<td>{Address:body}<div class="clr"/>{Address:validation}</td>
		<td>{Address:description}</td>
        </tr>
         <tr>
		<td>{Email:caption}</td>
		<td>{Email:body}<div class="clr"/>{Email:validation}</td>
		<td>{Email:description}</td>
	</tr>
          <tr>
		<td>{Phone:caption}</td>
		<td>{Phone:body}<div class="clr"/>{Phone:validation}</td>
		<td>{Phone:description}</td>
	</tr>
          <tr>
		<td>{Postal:caption}</td>
		<td>{Postal:body}<div class="clr"/>{Postal:validation}</td>
		<td>{Postal:description}</td>
	</tr>
           <tr>
		<td>{Country:caption}</td>
		<td>{Country:body}<div class="clr"/>{Country:validation}</td>
		<td>{Country:description}</td>
	</tr>
           <tr>
		<td>{What is your industri:caption}</td>
		<td>{What is your industri:body}<div class="clr"/>{What is your industri:validation}</td>
		<td>{What is your industri:description}</td>
 
         </tr>
 
 
 
 
         <tr>
 
                  <td>{Submit 1:caption}</td>
		<td>{Submit 1:body}<div class="clr"/>{Submit 1:validation}</td>
		<td>{Submit 1:description}</td>
 
	</tr>
        <tr>
                <td colspan="3" align="right">
                   <input type="button" onclick="changeTab(2,3);" value="Next">
                </td>
        </tr>
</table>
<table border="0" id="tab2" style="display: none">
	<tr>
		<td>{Page 2:caption}</td>
		<td>{Page 2:body}<div class="clr"/>{Page 2:validation}</td>
		<td>{Page 2:description}</td>
	</tr>
	<tr>
		<td>{Email:caption} (*)</td>
		<td>{Email:body}<div class="clr"/>{Email:validation}</td>
		<td>{Email:description}</td>
	</tr>
	<tr>
		<td>{Position:caption} (*)</td>
		<td>{Position:body}<div class="clr"/>{Position:validation}</td>
		<td>{Position:description}</td>
	</tr>
        <tr>
                <td colspan="3" align="right">                   
                    <input type="button" onclick="changeTab(1,3);" value="Back">
                    <input type="button" onclick="changeTab(3,3);" value="Next">
                </td>
        </tr>
</table>
<table border="0" id="tab3" style="display: none">
	<tr>
		<td>{Page 3:caption}</td>
		<td>{Page 3:body}<div class="clr"/>{Page 3:validation}</td>
		<td>{Page 3:description}</td>
	</tr>
	<tr>
		<td>{ContactWhen:caption} (*)</td>
		<td>{ContactWhen:body}<div class="clr"/>{ContactWhen:validation}</td>
		<td>{ContactWhen:description}</td>
	</tr>
	<tr>
		<td>{Submit:caption}</td>
		<td>{Submit:body}<div class="clr"/>{Submit:validation}</td>
		<td>{Submit:description}</td>
	</tr>
        <tr>
                <td colspan="3" align="right">                   
                    <input type="button" onclick="changeTab(2,3);" value="Back">
                </td>
        </tr>
</table>
The administrator has disabled public write access.

Re:align form? 14 years 11 months ago #7537

Just put <center> tag in the beginning and </center> in the end of your layout. Or center {rsform} right in your article. Pretty easy.
Last Edit: 14 years 11 months ago by Monkeyman.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!