• 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: Where to add custom javascript

Where to add custom javascript 16 years 7 months ago #4651

  • nettemor
  • nettemor's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
Hi,

There is something which i do not quite understand, hopefully someone can clear this up so that i can use this extention's full potential.

If i am going to create some validation on a field i have understood it like i can use the \"Additional attributes\" ? F.ex i can enter javascript: onchange=FillList()

But where am i going to create and place the javascript function FillList ?

Please answer me anyone, i need to sort this out.
The administrator has disabled public write access.

Re:Where to add custom javascript 16 years 7 months ago #4654

  • dragonjc
  • dragonjc's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 151
into script display :
$formLayout .= \"your javascript with tag\";
<br><br>Post edited by: dragonjc, at: 2008/09/13 06:54
Component RS SHow Form in build
The administrator has disabled public write access.

Re:Where to add custom javascript 16 years 7 months ago #4655

  • nettemor
  • nettemor's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 33
Thanks, but i dont get it? Scriptdisplay ?? (dont know what scriptdisplay is)

My questions are:

Am i going to create the javafunction within \"Form layout\" ?

And the calling of the function will be in \"Additional attributes\" for the spesific field ?<br><br>Post edited by: nettemor, at: 2008/09/13 10:22
The administrator has disabled public write access.

Re:Where to add custom javascript 16 years 7 months ago #4657

  • dragonjc
  • dragonjc's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 151
With rs forms pro you have at end of tab (when you manage yours forms) you can add somme script process and script display. It's on script display like i explain before that you write your script and like i write.
For called the function, you have just to put the called script like onsubmit=\"....into additional attributes
Component RS SHow Form in build
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!