首页 > 解决方案 > PHP表单上的多个签名

问题描述

我正在设置一个 PHP 表单,它允许在 10 行 x 6 列的 CSS 表中使用多个签名板,每行在第 6 列中都有一个签名板。当我尝试在同一个屏幕上制作多个签名板时,该应用程序往往行为不端。

过去我曾尝试使用 Stick HTML5 使https://github.com/szimek/signature_pad工作,并成功地为单个签名这样做。

    <html>
    <form action="Run_EMAIL_Protocol.php" method="POST">
    <tr> 
    <th> Section 1 </th>
    <th> Section 2 </th>
    <th> Section 3 </th> 
    <th> Section 4 </th>
    <th> Section 5 </th> 
    <th> Signature </th>
    </tr> 

    <tr>
    <td> <input type="text" name="Section_1_A"></td>
    <td> <input type="text" name="Section_2_A"></td>
    <td> <input type="text" name="Section_3_A"></td>
    <td> <input type="text" name="Section_4_A"></td>
    <td> <input type="text" name="Section_5_A"></td>
    <!-- This is where the signature would come into play but for now I will type in a generic item that will not work because I am seeking a method for fixing errors involving trying to make multiple signatures on a single page -->
    <td> <Insert signature app here> </td>
    </tr>

…
<input type="submit" value="SUBMIT">
</form>

我想要做的是通过一个引擎运行 php 表单,该引擎将输出转换为 html 格式,然后可以通过 PHPMailer 运行以输出到办公存储 API。现在,我只能让签名部分同时工作。即使使用 5 个签名也是一个好的开始。

标签: phphtmlformssignature

解决方案


推荐阅读