• 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 do I get custom field names?

How do I get custom field names? 10 years 8 months ago #28638

  • it050
  • it050's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hi, I need to create specific names for form fields, however RSform is changing these names, E.G. I call an input field "txtsearch" and RSform will change the name to "form[txtsearch]".

WHAT I NEED:
<input type="hidden" name="txtsearch" value="ANYW"/>

WHAT I GET:
<input type="hidden" name="form[txtsearch]" value="ANYW"/>

Is there a way to stop this from occurring? I'm sure this is the reason why my submission testing isn't working as it should.

Thanks in advance.
The administrator has disabled public write access.

How do I get custom field names? 10 years 8 months ago #28641

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
In order to achieve your scenario, you will have to change the source code of the component (we do not recommend it). Can you provide an accurate description of your scenario, maybe I can try pointing you in the right direction.
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.

How do I get custom field names? 10 years 5 months ago #29652

I have the exact same problem.

I need to create form fields with names exactly as I specify them so that they will integrate with the WorldPay Payment Gateway. My integration fails because RSForms!Pro changes my field names to include "form[fieldName]" instead of "fieldName".

Can this be achieved?

Douglas
The administrator has disabled public write access.

How do I get custom field names? 10 years 5 months ago #29653

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
It can be achieved. There are two different methods of implementing something such as this:

1. Use the Post to location feature. More details on it here:

http://www.rsjoomla.com/support/documentation/view-article/756-post-to-location-silent-post.html

2. Script solution, as explained here:

http://www.rsjoomla.com/support/documentation/view-article/83-silent-post.html

When the information will be posted it won't contain the "form" related structure.
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.

How do I get custom field names? 10 years 5 months ago #29654

Thanks, that does the trick nicely.
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!