• Page 1 of 1
  • 1
radio button agreement stuff
fattyspins
Posts: 12
Reputation: 0

Message # 1 | 10:40 PM
i didint find anything on google to help me with a thing like a terms of download or something, like there is 2 radio buttons first is agree and the second is disagree and when user agrees to terms of download then he can use the download button how to do that ? or where can i find the code for it?
Post edited by fattyspins - Wednesday, 2010-12-08, 10:43 PM
CoffeeCone
Posts: 687
Reputation: 41

Message # 2 | 1:01 PM
Javascript might be your best bet there... Are you wanting to integrate it with the File Catalog module? If yes, I can tell that it IS do-able. Although I haven't exactly tried it yet before, I took a quick look at the File Catalog template and I think it really IS do-able. happy
"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


fattyspins
Posts: 12
Reputation: 0

Message # 3 | 1:05 PM
shadowslash,
Quote (shadowslash)
Are you wanting to integrate it with the File Catalog module? If yes

i dont use the file catalog module
Post edited by fattyspins - Thursday, 2010-12-09, 1:05 PM
CoffeeCone
Posts: 687
Reputation: 41

Message # 4 | 2:27 PM
Quote (fattyspins)
i dont use the file catalog module

Well if not then all you'd need is JavaScript... You can try to look for document.getElementByID("id").

Here's a simple example, you can try out this code to see how it work...

Code
<script>
function dlAgree() {
  document.getElementById("dlBtn").disabled=false;
}
function dlDisagree() {
  document.getElementById("dlBtn").disabled=true;
}
</script>
<label><input type="radio" name="dlToggle" value="Agree" onClick="dlAgree();">Agree</label><br>
<label><input type="radio" name="dlToggle" value="Disagree" onClick="dlDisagree();" checked>Disagree</label><br>
<input type="button" id="dlBtn" name="dlBtn" value="Download" disabled>

NOTE:
I'm not sure if this is the best way to approach it, I just gave a sample... tongue


"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


Natashko
Posts: 3366
Reputation: 171

Message # 5 | 3:16 PM
fattyspins, I am not sure I understand you. First of all, which radio are you talking about. If it is one of our gadgets - which one? Describe the set up process.
If it is not uCoz radio gadget - contact the company you want to download it from with all further question.
fattyspins
Posts: 12
Reputation: 0

Message # 6 | 11:09 PM
Natashko, this is not about radio gadet, its about a radio button radio button is a little round button what you can select
Code
<input type="radio" name="name">
should be the code
CoffeeCone
Posts: 687
Reputation: 41

Message # 7 | 4:55 AM
Thanks for the Award fattyspins... happy
"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


  • Page 1 of 1
  • 1
Search: