Change default to "no t-shirt".
I suspect some supporters are just accepting the default, so by default, the t-shirt option will be "No", and supporters will have to affirmatively chose "Yes". Thanks to previously committed Javascript hack, users with Javascript capable browsers should avoid seeing the t-shirt sizing options until they chose "Yes".
This commit is contained in:
		
							parent
							
								
									a61e246db1
								
							
						
					
					
						commit
						eea08767d3
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		|  | @ -32,7 +32,7 @@ $(document).ready(function() { | |||
|         $control.find('.toggle-content').slideUp("slow"); | ||||
|         $control.find('.toggle-content').slideDown("slow"); | ||||
|     }); | ||||
|     $(".t-shirt-size-selector").show(); | ||||
|     $(".t-shirt-size-selector").hide(); | ||||
|     $('input[name=os1]:radio').change(function() { | ||||
|         var input=$(this); | ||||
|         var value = input.val(); | ||||
|  |  | |||
|  | @ -146,8 +146,8 @@ internal policies</a> are published and available for scrutiny.</p> | |||
| 
 | ||||
|                       <label for="wantGift"><strong>Do you want to receive a t-shirt? </strong></label> | ||||
|                       <input type="hidden" name="on1" value="wantGift" /> | ||||
|                       <input type="radio" checked="checked" name="os1" value="Yes" />Yes | ||||
|                       <input type="radio" name="os1" value="No" />No | ||||
|                       <input type="radio" name="os1" value="Yes" />Yes | ||||
|                       <input type="radio" checked="checked" name="os1" value="No" />No | ||||
|                       <br /> | ||||
|                       <span class="t-shirt-size-selector"> | ||||
|                       <label for="wantGift"><strong>T-shirt size: </strong></label> | ||||
|  | @ -200,8 +200,8 @@ internal policies</a> are published and available for scrutiny.</p> | |||
|             <input type="hidden" name="hosted_button_id" value="UU7VBCXYV7UPQ"> | ||||
|                       <label for="wantGift"><strong>Do you want to receive a t-shirt? </strong></label> | ||||
|                       <input type="hidden" name="on1" value="wantGift" /> | ||||
|                       <input type="radio" checked="checked" name="os1" value="Yes" />Yes | ||||
|                       <input type="radio" name="os1" value="No" />No | ||||
|                       <input type="radio" name="os1" value="Yes" />Yes | ||||
|                       <input type="radio" checked="checked" name="os1" value="No" />No | ||||
|                       <br /> | ||||
|                       <span class="t-shirt-size-selector"> | ||||
|                       <label for="wantGift"><strong>T-shirt size: </strong></label> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn