Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Submitform Error "cannot Read Property 'data' Of Undefined" Rate Topic   - - - - -

  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12044 posts

Posted 05 October 2020 - 05:43 PM #1

Just started seeing this error.  It's a simple form submit from a menu using a targed form for the save.

Has anyone else seen this or know of a solution.  Appears to be off in the cm-submit code....



Menu button for saving of a targeted form is:

<a class="cm-process-items cm-submit " data-ca-target-form="frm_lk_manage_keys" data-ca-dispatch="dispatch[license_keys.manage_keys&amp;amp;company_id=1]">

And the corresponding form definition is:

<form action="https://dev4.ez-ms.com/ezsilly.php" name="frm_lk_manage_keys" method="post" id="frm_lk_manage_keys" class="cm-processed-form cm-check-changes" novalidate="novalidate">
And the error stack is:
Uncaught TypeError: Cannot read property 'data' of undefined

    at Function.submitForm (scripts-ac2e9f0be33f5390cb8d7e9014e82cae1601677256.js:formatted:10112)
    at Function.dispatchEvent (scripts-ac2e9f0be33f5390cb8d7e9014e82cae1601677256.js:formatted:9258)
    at HTMLDocument.<anonymous> (scripts-ac2e9f0be33f5390cb8d7e9014e82cae1601677256.js:formatted:9563)
    at HTMLDocument.dispatch (scripts-ac2e9f0be33f5390cb8d7e9014e82cae1601677256.js:formatted:2028)
    at HTMLDocument.v.handle (scripts-ac2e9f0be33f5390cb8d7e9014e82cae1601677256.js:formatted:1960)


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.

  • Stanislaw
  • Newbie
  • Trial users
  • Join Date: 05-Oct 20
  • 3 posts

Posted 07 October 2020 - 07:13 PM #2

Any updates?