Uploaded image for project: 'Forms'
  1. Forms
  2. FORMS-629

JS to handle next/previous/submit button does not allow to override "common-utils-input-submit" template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.18.0, 2.17.9
    • 2.18.0, 2.17.5
    • None
    • None

      In "common-utils-input-submit" template of CMS plugin, the button is inserted in a <div class="button">

      If "common-utils-input-submit" is override in a skin to remove this wrapper, the JS does not work anymore (a parent is expected)

      See AmetysFormHelper#andleSubmitButton

      $j("#submit-" + pos + "-" + id).parent().hide();            
      $j("#form-next-" + pos + "-" + id).parent().show(); 

       

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: