display selected checkbox info in text field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 04:36 AM
Hello.
I have 3 check boxed
1: [] 10usd
2: [] 20usd
3: [] 30usd
and a text field thats named "price"
I need a client script that displays the selected checkbox'es info in a text field so my users can with ease see the price of the selected box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 04:59 AM
Hey i was looking for a onchange.
So if i select checkbox 1 it displays in the textfield the info from checkbox 1 etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 04:59 AM
Hi @asd22 ,
In script you can write on change client script for check box variable.
On change client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 05:01 AM
how do i do this when i have 3 checkboxes then? im new to this sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 05:27 AM
@asd22 ,
You have to create multiple onChange client script for multiple check box variable.
Regards,
Rohini Sane