Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: multiple signature fields #80

Closed
plocket opened this issue Mar 15, 2021 · 0 comments
Closed

Add: multiple signature fields #80

plocket opened this issue Mar 15, 2021 · 0 comments
Assignees
Labels
add field Stuff relating to adding new fields to the test interviews

Comments

@plocket
Copy link
Collaborator

plocket commented Mar 15, 2021

Mostly showing there's no variable name associated with the 'field' itself. name="_event" has the trigger var name encoded, but in future will not.

<section id="daquestion" class="tab-pane active offset-xl-3 offset-lg-3 col-xl-6 col-lg-6 offset-md-2 col-md-8">
  <div class="dasigpage" id="dasigpage">
    <div class="dasigshowsmallblock dasigheader d-block d-sm-none" id="dasigheader" style="">
      <div class="dasiginnerheader">
        <a href="#" role="button" class="btn btn-sm btn-warning dasignav-left dasignavbutton dasigclear">Clear</a>
        <a href="#" role="button" class="btn btn-sm btn-primary dasignav-right dasignavbutton dasigsave">Continue</a>
        <div id="dasigtitle" class="dasigtitle">Signature 1</div>
      </div>
    </div>
    <div class="dasigtoppart" id="dasigtoppart">
      <div id="daerrormess" class="dasigerrormessage dasignotshowing">You must sign your name to continue.</div>
      <div class="da-page-header d-none d-sm-block">
        <h1 class="h3">Signature 1</h1>
        <div class="daclear"></div>
      </div>
    </div>
    <div id="dasigmidpart" class="dasigmidpart"></div>
    <div id="dasigcontent" style="height: 180px;">
      <canvas id="dasigcanvas" width="450px" height="180px"></canvas>
    </div>
    <div class="dasigbottompart" id="dasigbottompart">
    </div>
    <fieldset class="da-button-set d-none d-sm-block da-signature">
      <legend class="sr-only">Press one of the following buttons:</legend>
      <div class="form-actions dasigbuttons mt-3">
        <a href="#" role="button" class="btn btn-primary btn-da dasigsave">Continue</a>
        <a href="#" role="button" class="btn btn-warning btn-da dasigclear">Clear</a>
      </div>
    </fieldset>
  </div>
  <form aria-labelledby="dasigtitle" action="/interview?i=docassemble.playground12ALTestingExpand%3Aall_tests.yml" id="dasigform" method="POST"><input type="hidden" name="_save_as" value="c2lnbmF0dXJlXzE"><input type="hidden" id="da_sig_required" value="1"><input type="hidden" id="da_ajax" name="ajax" value="0"><input type="hidden" id="da_the_image" name="_the_image" value=""><input type="hidden" id="da_success" name="_success" value="0"> <input type="hidden" name="csrf_token" value="ImNkNDhhMzgyYWE1YjZlOWIyNGM2NjBlM2QwMzYwZTRhMzc2Zjg5Zjci.YNj4kw.LaGGNdoNmkvwoobb3Wdh-i5dxUU">
    <input type="hidden" name="_event" value="WyJzaWduYXR1cmVfMSJd">
    <input type="hidden" name="_question_name" value="ID first signature">
    <input type="hidden" name="_tracker" value="16">
  </form>
  <div class="d-block d-md-none"><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></div>
  <div class="dasigpost">
    <div data-variable="c2lnbmF0dXJlXzE" id="trigger" aria-hidden="true" style="display: none;"></div>
  </div>
</section>
@plocket plocket changed the title Test multiple signature fields Add: multiple signature fields Mar 18, 2021
@plocket plocket self-assigned this Mar 25, 2021
@plocket plocket closed this as completed in c5ce544 Apr 3, 2021
plocket added a commit that referenced this issue Apr 3, 2021
Close #80, add multiple signature pages
@plocket plocket added the add field Stuff relating to adding new fields to the test interviews label Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add field Stuff relating to adding new fields to the test interviews
Projects
None yet
Development

No branches or pull requests

1 participant