• User Attivo

    Mettere checkbox obligatorio nel form optin

    Salve a tutti, ho la necessità di aggiungere una checkbox per la privacy al mio form optin, ma non so come fare. Qualcuno mi aiuta? Questo è il codice autoresponder:

    <style>.inbFrm{font-size:11px; font-family:Arial, Helvetica, sans-serif; width:300px; padding:0px; background:; border:1px solid #FFFFFF; float:left; padding-bottom:25px;}.inbBtn{margin-left:105px; background: w w w . dimagriresenzadieta . i t/Lezioni/accedi-adesso.png; color:; border:none; padding:3px; cursor:pointer; margin-top:15px; margin-bottom:15px}
    .field{width:100%; color:#000000; float:left; margin-bottom:5px;}
    .field .label-area{width:85px; float:left; clear:left; margin:3px 10px 0 10px; font-family:Arial, Helvetica, sans-serif; font-size:14px; line-height:22px; font-weight:normal; font-style:normal; margin-top:5px}
    .field .label-name{color:;}
    .field .field-required{color: red;display: inline-block;font-weight: bold;line-height: 13px;margin-left: 3px;}
    .field .element-area{float:left; font-size:12px; margin-top:5px}
    .field .element-area input, .field .element-area select, .field .element-area textarea{border:1px solid #868686; width:300px; font-size:14px; min-height:22px; height:auto; padding:0px 3px; font-family:Verdana; margin-top:2px; color:#000000; font-weight:normal; font-style:normal;}
    
    
    .field .element-area textarea{height:70px; width:300px;}
    .field .element-area select{width:300px; padding-top:1px; padding-left:1px}
    .field .element-area select.multi{height:auto; width:300px;}
    .field .element-area input[type=radio], .field .element-area input[type=checkbox]{width:20px; margin:0 0 5px 0; padding:0; vertical-align:middle; border:1px solid}
    .field .element-area span.sub-lable{display:block; font-size:10px; margin-top:3px;}
    .field .element-area .input-radio{ width:22px !important; margin-top:-2px; margin-bottom:3px; border:0}
    .field .element-area .input-checkbox{}
    .field .element-area .cus_chk_options{display:block; margin:0 auto; float: none; width: 230px; text-align:left; padding:3px 0;}
    
    
    .field .element-area-1{text-align:center}
    .field .element-area-1 .headline{color:#00A2E8; text-align:center; font-size:15px; font-family:Arial, Helvetica, sans-serif; font-weight:normal; font-style:normal;}
    .field .element-area-1 .submit_btn_txt{margin-left:105px; display:inline-block; padding-top:15px; float:left; cursor:pointer}
    .field .element-area-1 .privacy{font-style:italic; color:#000000; text-align:center; display:inline-block; margin-top:10px;}
    .field .element-area-1 img{margin-right:8px;}
    .field .element-area-1 .logo-small{color:#000000; text-align:center; display:block; margin-top:10px;font-weight:bold;}
    .field .element-area-1 .logo-small img{margin-left:10px; vertical-align:middle}
    .inbFrm .field {text-align:center;}
    .inbFrm .field .element-area{ width:100%; margin-top:0}
    .inbFrm .field .element-area input[type=text]{ display:table; margin:0 auto; margin-bottom:10px; }
    .inbFrm .field .label-area{ width:300px; float:none; margin:3px auto; text-align:left; display:block;}
    .inbFrm .field .inbBtn{ margin-left:0;}
    .field .element-area-1 .submit_btn_txt {float:none; text-align:center; margin-left:12px;}
    .field .element-area input, .field .element-area select, .field .element-area textarea{-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding:0px 6px; min-height:24px; height:auto}
            .inbBtn {-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding:4px 6px; height:24px;}
            </style><!--[if IE]>
        <link rel="stylesheet" type="text/css" href="w w w . ininbox . c o m /style/ie.css" />
    <![endif]--><form  name="addContact" method="post" action="w w w . ininbox . c o m /webform_contact_add.html"   class="inbFrm"><input type="hidden" name="mid" value="OTk1Mg=="><input type="hidden" name="lid" value="NzMyMw=="><input type="hidden" name="wid" value="MzM0Nw=="><div class="field"><input value="vEmail" id="fd_type" type="hidden"><div class="label-area"><span class="label-name">Email</span><span class="field-required">*</span></div><div class="element-area"><input id="sys_vEmail" name="sys_vEmail" type="text"><span class="sub-lable" style="display:none;">[email protected]</span></div></div><div class="field"><input type="hidden" id="fd_type_n" value="submit_btn"><!-- submit_starts --><div class="element-area-1"><span id="legal_fld" class="submit_btn_txt"><img src="w w w . dimagriresenzadieta . i t/Lezioni/accedi-adesso.png" class="uploaded_image" onclick="document.addContact.submit();"></span></div><!-- submit_ends --></div><input type="hidden" id="submit_txt" value="Subscribe"></form>
    <script type="text/javascript" language="javascript" src="  w w w . ininbox . c o m /js/jquery.js"></script>    
    <script>
    var site_url = "w w w . ininbox . c o m/";
    isPlaceHolder = 0;
    </script>
    <script type="text/javascript" language="javascript" src=" w w w . ininbox . c o m /js/webformcode.js"></script>    
    
    
    
    

  • User

    Salve, puoi provare aggiungendo questo campo:

    <input type="checkbox" required > Testo di accettazione <a href="url_alla_privacy" target="_blank"><u>link alla privacy</u></a>
    

    Buona giornata