• 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: How to print many fields in layout with script ?

How to print many fields in layout with script ? 13 years 7 months ago #11550

Hi.

I have a form that contains many fields.

The fields are named
A1, B1, C1
A2, B2, C2 etc.

Is it possible somehow to get the fields printed in the layout via a loop - like (for 1=0;i<10;i++) so tha tI don't have to do all this printing in the layout manually.

This would also ease my work if I change the table layout of the form later on, then I don't have to go through hundreds of lines.

Is the above possible - and how?

Br.
Jens
The administrator has disabled public write access.

Re:How to print many fields in layout with script ? 13 years 7 months ago #11657

  • andreic
  • andreic's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 733
  • Thank you received: 60
Hello,

If I understand correctly you want to add your form fields in a certain order? If that is the case, then you cannot add the fields through a loop declaration, you would need to add them manually in your desired format. You could try clicking the "Generate Layout" button in order to add all your created fields placeholders in the code from the "Form Layout" then manually edit the order of the fields to your desired format.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
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!