• 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: Ability to group fields horizontally

Ability to group fields horizontally 17 years 10 months ago #703

I didn't see that anyone has mentioned this yet, but I could have missed it. I think it would be cool to be able to group fields horizontally. That way it could be like:

First_________ Middle_________ Last________________

instead of

First___________
Middle__________
Last____________

Maybe there is a way to do this already that I haven't discovered?

How about creating a wiki type user manual?
The administrator has disabled public write access.

Re:Ability to group fields horizontally 17 years 10 months ago #706

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
Thanks for your suggestion. A wiki would be great indeed.

In order to make your fields horizontally, you have to alter the code in your Form Style tab(the field style code), something like this:

change this:
<tr>
	<td align=\"right\" valign=\"top\" width=\"33%\">{fieldtitle}{validationsign}</td>
	<td valign=\"top\" width=\"34%\">{field}</td>
	<td valign=\"top\" width=\"33%\">{fielddesc}</td>
</tr>

into this:
<tr>
	<td align=\"right\" valign=\"top\">{fieldtitle}{validationsign}{field}{fielddesc}</td>
</tr>

Let me know if that was helpful.
The administrator has disabled public write access.

Re:Ability to group fields horizontally 17 years 10 months ago #708

Very helpful - Thanks!

Now if you could just show me how to do a redirect on a radio button...

www.pimpmyjoomla.com/component/option,co...view/id,629/catid,2/

Let us know when the wiki is up!<br><br>Post edited by: evilrobot, at: 2007/05/24 17:33
The administrator has disabled public write access.

Re:Ability to group fields horizontally 17 years 10 months ago #720

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
OK,

i tested it and it works.

Let me explain what i did:

In your 1.0.3, add the sample form to start, then Add a new field like this:

Field Id: radioselect
Field type: radio
Default value: paypal.html|Paypal,moneybookers.html|Moneybookers,cc.html|Credit Card
Field style:
&lt;tr&gt;
&lt;td&gt;{fieldtitle}&lt;/td&gt;
	&lt;td align=\&quot;right\&quot; valign=\&quot;top\&quot; colspan=\&quot;2\&quot;&gt;{field}&lt;/td&gt;
&lt;/tr&gt;
(i altered the main field style, by removing the third cell, so the radios can expand).

Then, in your Edit Form screen, under the Form Edit tab, add this:

Return URL : {radioselect}

This way, when someone selects Paypal, the data is stored, and they are being redirected to paypal.html and so on.

Let me know if it worked.
The administrator has disabled public write access.

Re:Ability to group fields horizontally 17 years 10 months ago #743

Excellent! This worked perfectly, this is a small problem but I was able to work around it:

When attempting to use an external address it would not work for me (I was using a redirect to a https:// - didn't try a http:// to see if it would work) - to fix this problem I just put the link in a wrapper, made a menu link to it, copied the url of the menu link, unpublished the menu item, and then put the link to that in forMe.

Also, I'm still having problems getting fields to line up horizontally on text fields. Perhaps I am understanding incorrectly - does horizontal line up only work if you are using radio buttons or check boxes so that you can enter something like: 1|Selection 1,2|Selection 2,3|Selection 3 in the default value?

I'll keep playing around - I would like to be able to line up text fields horizontally (like First Name, Middle Name, Last Name), and I would also like to line up two checkboxes next to a text field (example: _GED _High School Diploma - Year you graduated __________)

Thanks! I'll go purchase the component now!
The administrator has disabled public write access.

Re:Ability to group fields horizontally 17 years 4 months ago #1438

  • rubinoae
  • rubinoae's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
i've been trying to get the redirect to work. Everything goes well but i get 404'd when redirected to the URL. The funny thing is that on the 404 page, if i hit refresh, the correct page loads as if i was redirected. My goal is to be able to load a specific form based on criteria selected in the first form, hence the redirect. So the URL i am redirecting to is not external (i.e. index.php?option=com_forme&fid=20). do you know what i am doing wrong?
The administrator has disabled public write access.

Re:Ability to group fields horizontally 17 years 4 months ago #1439

  • rubinoae
  • rubinoae's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
sigh...i figured it out...second time i've figured something out within minutes of asking questions about it in the forum. patience...

in the return URL field on the Form Edit Tab i quite literally typed \"Return URL {radiofield}\". I droped the \"Return URL\" and left in the \"{radiofield}\" and everything is now working.
The administrator has disabled public write access.

Re:Ability to group fields horizontally 17 years 4 months ago #1440

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
Glad you worked it out :)
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!