• 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: Dynamically add new row of Textboxes from a link

Dynamically add new row of Textboxes from a link 11 years 9 months ago #24203

  • markove
  • markove's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi there,

I want to have a single row of 3 textboxes. The titles are as follows - the first is "Item" the second is "Purchase Date" and the third is "Cost".
I want the person filling the form to enter data into all 3 fields. I then want another clickable link below these that says "Add New Row".
If the link is clicked - another row appears of 3 similar textboxes. Thus the form is dynamically adding a new row if the user needs to add more information.

Is this possible and can someone explain how to do it in basic steps?
The administrator has disabled public write access.

Dynamically add new row of Textboxes from a link 11 years 6 months ago #25441

  • jgarcia9
  • jgarcia9's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Anything on this question? I also looking for a solution on this.
markove wrote:
Hi there,

I want to have a single row of 3 textboxes. The titles are as follows - the first is "Item" the second is "Purchase Date" and the third is "Cost".
I want the person filling the form to enter data into all 3 fields. I then want another clickable link below these that says "Add New Row".
If the link is clicked - another row appears of 3 similar textboxes. Thus the form is dynamically adding a new row if the user needs to add more information.

Is this possible and can someone explain how to do it in basic steps?
The administrator has disabled public write access.

Dynamically add new row of Textboxes from a link 11 years 6 months ago #25447

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

RSForm!Pro comes with several layouts for your forms to choose from. If these do not suit your needs, you can perform layout and style adjustments as explained here:

www.rsjoomla.com/support/documentation/v...yle-adjustments.html

The simpler way would be to start with a 2 columns layout and work your way from there(to display the "Cost" on a third column).

Note that you cannot actually dynamically add fields within a form. RSForm!Pro uses a conditional fields feature, that can be used to show or hide fields based on a user selection. More information on the "Conditional Fields" feature can be found here:

www.rsjoomla.com/support/documentation/v...ditional-fields.html

Taking into account the above information, you can add a maximum number of fields and simply show / hide them depending on a user selection. For example, if you were to take this approach you can add a drop-down field that would indicate the quantity of fields and use the built-in Conditional Fields feature.
This is not official customer support. To receive your support, submit a support ticket here.
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!