I am trying to interface an online CC processing application with a LF Cloud forms process. The goal is to have a button that shows 'Pay Now' if the end user selects to pay by CC. The button then triggers javascript function code which opens their application in a popup and passes various variables into their fields. I have the onClick button created and the Javascript entered. (I can provide the code if needed.) The problem is the error that appears at the top of the form. (See error message below.) I am pretty new to HTML and Javascript but I did work with the developers of the CC application. I'm also not sure if this is something that can be done without working with the LF developers.
---------------------------------
"\n \n \n \n\n
\n
\n \n
\n \n\n \n
\n\n\n","isRecaptcha":false,"recaptchaSiteKey":"6LcyLkoUAAAAALelAYFEKpMYcMiUD1NHjhjCB79D","isReadOnly":false,"isLocked":false,"isProcessEnabled":true,"isDraftAllowed":false,"actionButtons":{"Submit":"Submit"},"comment":null,"listReadOnlyFields":"F00000001:ASx1hAeM9ezq45OKQ3Dnmc+R9V1Npstngpy6cVjm/9c6fBeeQhc5N808Jw7QXFoSrLk8EOFzgYcF2CkKutxqWizV5pRp31dSBp1CCPZhzBo/oCkq3X2TC5M/osO6O54SuXd8Sy8weixu5j3MoZpi5FdlizYkqFoa6Kpz9L5WHzxaNZsSrhTFtu+KsopkstFOpmZYWhKQZHPflKNUQDztgKk=","readOnlyFieldsTrace":{},"repeatableReadOnlyFieldsSetting":{},"draftInfo":null,"tenantConfigurations":{"uploadFileSizeMaxPerFile":"26214400","formFieldsVariablesLimit":"500","formFieldRulesLimit":"100"},"backendRowCountFromXML":null,"isDraft":false,"submissionId":"ad0200fd-93c6-40f5-a0c9-2f230365fcde","creationLevel":0},"links":{"PublicPortalDraftExists":{"type":"DraftExists","id":"ad0200fd-8949-4e50-b29a-8b1eecb0ac06","self":"http://bpm1.service.consul/bpm/API/a/FormsTask/ad0200fd-8949-4e50-b29a-8b1eecb0ac06/PublicPortalDraftExists"}},"actions":{"FormsInfo":"http://bpm1.service.consul/bpm/API/a/FormsTask/ad0200fd-8949-4e50-b29a-8b1eecb0ac06/FormsInfo"},"self":"http://bpm1.service.consul/bpm/API/a/Forms/Processes/Processes/ad0200fd-8949-4e50-b29a-8b1eecb0ac06/FormsInfo"},"links":{"self":"http://bpm1.service.consul/bpm/API/a/Forms/Processes/Processes/ad0200fd-8949-4e50-b29a-8b1eecb0ac06/FormsInfo"},"linkmap":{}}; LF.isFormPreview = false; if (LF.FormsInfo && LF.FormsInfo.data && LF.FormsInfo.data.props) { LF.FormsInfo = LF.FormsInfo.data.props; } var datetimeformat = 'M/D/YYYY h:mm:ss a'; var dateformat = 'M/D/YYYY'; var userToday = ''; var submissionPageCheck = true; var AnswersInt = AnswersInt || {}; AnswersInt.BaseURI = ''; AnswersInt.Visible = ''; AnswersInt.GroupId = ''; var utcOffset = ''; AnswersInt.Visible = false; LF.isAuthenticated = true; //$('html').addClass('lf-responsive');
--------------------