Sales Question?
Welcome, Guest

TOPIC: creat random code

creat random code 1 year, 4 months ago #65450

hi

I'm trying to add text-box that show a random code to each user. i can insert this, but this work only on first page of my form.
My question is: HOW add a text-box on other pages of my form, that show a random code to user?


I don't know English very well. sorry me! if my post is Incomprehensibility ...
  • emperor69
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Last Edit: 1 year, 4 months ago by emperor69.

Re: creat random code 1 year, 4 months ago #65453

i'm waiting...
  • emperor69
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0

Re: creat random code 1 year, 4 months ago #65533

i add this code :
function ff_myform_init()
{
var rand_no = (Math.floor(Math.random()*999999999999));
ff_getElementByName('may_element_name').value = rand_no;

}


ok, but this code only work in first page of my form. how i show randomcode in other page of form???
help me pleas...............!!!!
  • emperor69
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0

Re: creat random code 1 year, 4 months ago #65586

Hi,

what does other page mean exactly? You want to display the same code from page 1 in other elements on different pages? Or creating new codes for every page?

Regards,
Markus
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
The following user(s) said Thank You: emperor69

Re: creat random code 1 year, 4 months ago #65613

thank you...
creating new random code for one page, but no first page, for example creating new code on page 3
  • emperor69
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0

Re: creat random code 1 year, 4 months ago #65701

Hi,

you need that when somebody switches to page 3 or on some "action" on that page. For example if somebody selects something from the list?

Sorry that it takes me so long but I need to find out your requirement in order to give the best advise.

Regards,
Markus
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.36 seconds

Flatrate Membership: Professional Subscription

Get lifetime access to all of our products and 1 year of professional support -- for just $199 USD. No limits on domains!. Includes all of our current and future Joomla!® extensions, WordPress® plugins and Joomla!® templates.

Get it from here

Recurring Customer Discount - 50% Off!

Get a 50% discount on our Professional Subscription if you have been purchasing a subscription from us in the past -- no matter when. The Professional Subscription includes all of our current and future Joomla!® extensions, WordPress® plugins and Joomla!® templates.

How to receive the discount:

  • Purchase a basic 1-Year Subscription from here.
  • Send us a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and proof of your old purchase.
  • We will then upgrade your account to the Professional Subscription.

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our 1-Year Basic or Professional Subscription plans.

How to receive the discount:

  • Send us a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with a proof of purchase (for example a paypal receipt).
  • Await payment instructions and enjoy your membership!

About

Crosstec GmbH & Co. KG

Hohenzollernring 57

50672 Cologne, Germany

Imprint