• 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: Auto generate unique ID in textbox field

Auto generate unique ID in textbox field 11 years 2 months ago #26603

  • jpmcarey
  • jpmcarey's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
Hello

I want one of the text boxes called ID in my form, to automatically generate a unique ID when the form is loaded. I have tried using the code below in the default value section of the ID field:

//<code>
echo uniqid();
//</code>

This does not show anything in the front-end but in the back-end of Joomla it appears under the save button in edit form mode. I can't figure out why this is happening in the back-end and it is not showing in the ID field in the front-end?

I have also got the RS form front-end list module installed and am using this to display the submissions for the form in a table format. Unfortunately calling the ID field value doesn't work in the table also..

Any ideas?
The administrator has disabled public write access.

Auto generate unique ID in textbox field 11 years 2 months ago #26691

  • danilofagundes
  • danilofagundes's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Thank you received: 5
And why not use the field support ticket?
www.rsjoomla.com/support/documentation/v...-support-ticket.html
This link may also be helpful:
www.rsjoomla.com/support/documentation/v...for-submissions.html

jpmcarey wrote:
Hello

I want one of the text boxes called ID in my form, to automatically generate a unique ID when the form is loaded. I have tried using the code below in the default value section of the ID field:

//<code>
echo uniqid();
//</code>

This does not show anything in the front-end but in the back-end of Joomla it appears under the save button in edit form mode. I can't figure out why this is happening in the back-end and it is not showing in the ID field in the front-end?

I have also got the RS form front-end list module installed and am using this to display the submissions for the form in a table format. Unfortunately calling the ID field value doesn't work in the table also..

Any ideas?
The administrator has disabled public write access.
The following user(s) said Thank You: teles123
  • 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!