• 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: symbol in field name - error Please specify an uni

symbol in field name - error Please specify an uni 12 years 10 months ago #17752

  • ido
  • ido's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
hi guys,
I have purchased RSForm!Pro and I'm very happy with it but now I have a problem.
I need to create a form for a mailing service registration with the following field in it. (textbox field)

<td><input type="text" name="option[subscription_mail]" size="14" dir="ltr" /></td>

but I get the following error message:

Please specify an unique name, using only alphanumeric characters for this component.

How do I go about enabling brackets in a textbox field name?

Thank you very much,
Ido
The administrator has disabled public write access.

symbol in field name - error Please specify an uni 12 years 10 months ago #17756

  • ido
  • ido's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
OK, so I've been doing some reading and:

When you define an array structure in the name attribute of an input, php automagically arranges the $_POST superglobal as an array.
This code:

<input type="text" name="test[fish][1]" value="2" />
<input type="text" name="test[fish][red]" value="blue" />

Ends up being accessible through:

echo $_POST; // 2
echo $_POST; // blue

so now I understand why the name of the text field can not contain brackets however there must be a way to solve this as there are many occasions when arrays are used in forms?
The administrator has disabled public write access.

symbol in field name - error Please specify an uni 12 years 2 months ago #21506

Hi

There is a solution to this ?

I need the same thing input brackets in the NAME

thanks
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!