Welcome, Guest

Copy values in Quickmode
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Copy values in Quickmode

Copy values in Quickmode 1 year, 5 months ago #16771

Hi,

I work on my second form now and i must say, i like BreezingForms.

I have a simple question.

I have a multi-page form.
On the first page, I got a name element, this is a text-element.
On the second page I want to show that name-field as a read-only, but the value has to be changed to name+"123".

I tried the action script but that onlye works on an action (it works with "change").
But it has to be there when page 2 is entered.
So, I tried it in the initialisation script, but than suddenly on moving to the next page, all fields are blank.

I tried the following script

function ff_Ordernummer_init(element, condition)
{
var letters = ff_getElementByName('Voorletters').value;
var order = ff_getElementByName ('Ordernummer');


switch (condition) {
case 'pageentry':
order.value = letters + "123";
break;
default:;
} // switch
} // ff_ordernummer_init




How can I make this work?

Regards,

JB
  • JB_Walton
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Last Edit: 1 year, 5 months ago by JB_Walton.
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.25 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany