• 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: Random numbers in the reply email

Random numbers in the reply email 7 years 1 month ago #37978

Hi, I would like to insert random numbers in the emails to the user. For example, every user who compiles a form and presses button sends I would like to receive a randomly generated number in the automatic reply mail. How can I do?
The administrator has disabled public write access.

Random numbers in the reply email 7 years 1 month ago #37990

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 246
  • Thank you received: 64
I use this in a hidden field to generate a number as a reference on membership forms

//<code>
return time()
//<code>

The time() function returns the current time in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) so will always be a unique number.
Then you just include {your field name:vaue} in an email or pdf Any use?
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
Last Edit: 7 years 1 month ago by iceferret. Reason: additional content
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!