• 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: default value

default value 12 years 7 months ago #19144

  • leah8
  • leah8's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Can i set the default value for a text field or html field the default value field. for example can i do this
this.value=document.getElementById('FirstName').value;

i cant get this to work, what i am trying to do is show the name and address on the last page of the form
any advice would be great
thanks in advance
The administrator has disabled public write access.

Re: default value 12 years 7 months ago #19145

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello ,

In order to achieve this you will need to add the following within the Additional Attributes area for the page break button (edit you field > Attributes tab):

onclick="document.getElementById('field 2').value = document.getElementById('field 1').value;"


This article might also help you :

www.rsjoomla.com/support/documentation/v...a-before-submit.html
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.

Re: default value 12 years 7 months ago #19149

  • leah8
  • leah8's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
thank you i have tried both of these methods and cant get it to work, the text box just remains blank as does the innerHTML when i try it that way - i must be doing something wrong, i'll keep trying
The administrator has disabled public write access.

Re: default value 12 years 7 months ago #19150

  • leah8
  • leah8's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
solved the problem, had duplicate field names, thank you again
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!