Jump to content

Zeeshan Asghar

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Zeeshan Asghar

  1. Ok let me describe. please ignor my question and check these 2 files. in these file i have a plugin to add payment gateway for woocommerce. after installation plugin will show on woocommerce like this (check "gateway.png" ). Now i want when user fill cradit card details and click checkout (check "checkout.png"). the payment automatically transfer to my any bank account. in these files where i can mention this ??

    Sorry my English is not good. also ignor the name UBL  :-(

    woocommerce-ubl.php

    woocommerce-ubl-gateway.php

    checkout.PNG

    gateway 1.PNG

    gateway.PNG

    • Like 1
  2. I have a question form which have many question with select option of yes or no i need help.

    for example Question no 1 have 3 options which have 3 select field of yes or no

    <br><div class="form-group"> 1. <label for="q1"> Are you presently taking Tobacco/Alcohol/Drugs/Medicines in any form during the past 12 months? </label><br>
    Insured: <select name="q1opt1" data-placeholder="" class="flat-select" id="q1" type="select">
    <option value="Yes" checked>Yes</option>
    <option value="No">No</option>
    </select>
    Spouse: <select name="q1opt2" data-placeholder="" class="flat-select" id="q1" type="select">
    <option value="No" checked>No</option>
    <option value="Yes" >Yes</option>
    </select>
    Children: <select name="q1opt3" data-placeholder="" class="flat-select" id="q1" type="select">
    <option value="No" checked>No</option>
    <option value="Yes">Yes</option>
    </select>
    </div><br>

    i want if user select yes of any one option Question No automatically show on below table in QUESTION NUMBER Field

    For example; Q1 or Q3

    <table >
      <tr>
        <th style="width: 90px;text-align: center;">QUESTION NUMBER</th>
        <th style="width: 150px;text-align: center;">NAME</th>
        <th style="width: 150px;text-align: center;">ILLNESS OR INJURY</th>
        <th style="width: 150px;text-align: center;">DATES OF TREATMENT</th>
        <th style="width: 150px;text-align: center;">DATE OF RECOVERY</th>
        <th style="width: 150px;text-align: center;">NAME OF PHYSICIAN</th>
      </tr>
      <tr>
        <td><input type="text" name="questionno" style="width: 150px"></td>
        <td><input type="text" name="name" style="width: 150px">  </td>
        <td><input type="text" name="illnessofinjury" style="width: 150px">  </td>
        <td><input type="date" name="dateoftreatment" style="width: 150px;padding: 12px;height: 50px;">  </td>
        <td><input type="date" name="dateofrecovery" style="width: 150px;padding: 12px;height: 50px;">  </td>
        <td><input type="text" name="nameofphysician" style="width: 150px">  </td>
      </tr>

    </table>

    how can i do this with PHP?

    check my complete form and help me

     

    form.php

×
×
  • Create New...