添加复选框以注册我的登录主题表格 - 条款和条件

问题描述 投票:-7回答:1

首先我的英语不够好。我会试着解释我的问题。

我的问题是我需要一个注册表格上的复选框。我不擅长Php。我为注册,姓名,姓氏等添加了新行,但是我添加了一个复选框,如果选中或不通过,我也会控制它。以及条款和条件的链接。当用户点击它时必须打开灯箱。可能吗?

I want something like this

php css login lightbox
1个回答
-1
投票
html=>  <input type="checkbox" name="checkbox1"/>
<input type="checkbox" name="checkbox2"/>
<?php
if(!isset($_POST['checkbox1']))&&(!isset($_POST['checkbox2'])
{
  echo "select term & service also check box";
}?>                
© www.soinside.com 2019 - 2024. All rights reserved.