• 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: Preview data before submit of dropdown

Preview data before submit of dropdown 11 years 2 months ago #26513

  • danilofagundes
  • danilofagundes's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Thank you received: 5
Good day.
In this example:
www.rsjoomla.com/support/documentation/v...a-before-submit.html
Usually works in a textfield, RadioGroup and CheckGroup.
How to preview the Dropdown field information?

Thanks in advance.
The administrator has disabled public write access.

Preview data before submit of dropdown 11 years 2 months ago #26531

  • baetensb
  • baetensb's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 4
Hi,

I was busy finding out for a website of one of my customers today and found the following solution:
var AantPers = document.getElementById('AantalPersonen');
	var AantPersSel = AantPers.options[AantPers.selectedIndex].value;
	document.getElementById('AantalPersonenP').innerHTML = AantPersSel;

Line 1: make a variable that reads the list attribute
Line 2: read the value selected of that list attribute
Line 3: store it in the preview field
The administrator has disabled public write access.
The following user(s) said Thank You: danilofagundes, zenmach

Preview data before submit of dropdown 11 years 2 months ago #26545

  • danilofagundes
  • danilofagundes's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Thank you received: 5
Perfect, thank you friend.
The administrator has disabled public write access.
The following user(s) said Thank You: teles123

Preview data before submit of dropdown 11 years 2 months ago #26619

  • kareez
  • kareez's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
Hi
If it is possible please attach a sample.
The administrator has disabled public write access.

Preview data before submit of dropdown 11 years 2 months ago #26657

  • danilofagundes
  • danilofagundes's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Thank you received: 5
Good afternoon friend, what you want to do specifically? Maybe I can help you
kareez wrote:
Hi
If it is possible please attach a sample.
The administrator has disabled public write access.
The following user(s) said Thank You: kareez

Preview data before submit of dropdown 11 years 2 months ago #26723

  • kareez
  • kareez's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
danilofagundes wrote:
Good afternoon friend, what you want to do specifically? Maybe I can help you
kareez wrote:
Hi
If it is possible please attach a sample.

Hi, I need a sample that show preview before send all of this items:
1 - Dropdown list
2 - Radio button
3 - Text box
4 - Security Code
5 - Checkbox
and other options of RSForm Ingredients.

Please look at this link: www.rsjoomla.com/forum/37-rsform-pro/235...ity-for-options.html

It's another form that I need to It.

These 2 forms are very useful for all.
Last Edit: 11 years 2 months ago by kareez.
The administrator has disabled public write access.

Preview data before submit of dropdown 10 years 8 months ago #28683

where do you input this code?

im still noob to the coding on rsforms

thanx in advanced
The administrator has disabled public write access.

Preview data before submit of dropdown 10 years 8 months ago #28688

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
The script needs to be inserted in the CSS and Javascript section of the Form's properties (Components > RSForm!Pro > Manage forms > select form > Properties > Design - CSS and Javascript). More information on this section can be found here:
http://www.rsjoomla.com/support/documentation/view-article/481-css-and-javascript.html
My help is not official customer support. To receive your support, submit a ticket by clicking here
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!