• 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: Horizontal Rule

Horizontal Rule 13 years 3 months ago #16262

  • agorman
  • agorman's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi

Is there a way of adding a horizontal rule to a form so that the fields can be in sections ?

Thanks
The administrator has disabled public write access.

Re: Horizontal Rule 13 years 3 months ago #16264

I always usse the Free Text part to add a line.
Regards
Wilco Alsemgeest

Please note: my help is not official customer support. To receive your support, submit a ticket by clicking www.rsjoomla.com/my-support-tickets.html
The administrator has disabled public write access.

Re: Horizontal Rule 13 years 3 months ago #16265

Hi,
I use Free Text also. Here's what I do
1. Set up Free Text component in your form. I usually name it "rule" or something like that so I can find it in the form layout. In this example I named it "hr"
2. Complete the form and make sure there are no more edits needed.
3. Uncheck Auto Generate layout in Properties>Form Layout. You will be editing the code here. (I usually make a back up of the form before I do any edits... not a programmer so I always try to have an original in case I goof up the edits)
4. In the Properties>Form Layout screen find the code for your "rule" To make it move to the left, delete the code for the caption.
5. Then add the following to the next line:

<td colspan="3">{hr:body}<hr style="width:500px;"/><div class="formClr"></div>{hr:validation}</td>
<td>{hr:description}</td>
</tr>
7. Apply
8. Preview
9. Adjust the width of the rule to suit your form

There are probably many ways to do this but this was given to me by the Mods and I've gotten it to work on the forms I wanted it in.

I also use the code to make sure that my Free Text is flush left on the page, not lined up with the body text.

Hope this helps.
The administrator has disabled public write access.

Re: Horizontal Rule 13 years 3 months ago #16275

  • info5767
  • info5767's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Thankyou for that. I works great.

I think hr gives a nice look, you would think there would be one built in with the fields.

Thanks again
The administrator has disabled public write access.

Re: Horizontal Rule 6 years 1 month ago #38951

  • cdetempe
  • cdetempe's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hi,

i know this is a fairly old topic but since I ran into the same issues I wanted to share my findings:

The easiest way is to enter the following code into the textfield:

<br> so there apears a enter after of before the text
<hr> here you can insert a horizontal rule
<li> </li> insert list item between the brackets

So insert a Free Text component, configure the component and insert one of the above mentioned items in the textfield.

Good luck!
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!