Histórico da Página
| HTML |
|---|
<div id="main-content" class="wiki-content group"> <p> EnIn todosall losmovements movimientosin dea unprocess, procesothe susdata datosis sesent envíanto alanalytics. analytics.Information Laregarding informaciónthe relacionadaprocess conare elautomatically procesosent se envíaand automáticamenteinformation yfrom lathe informaciónform delcan formulariobe sehandled puedein manipular en el evento the event <strong><em>beforeSendData</em>.</strong> </p> <p> LaThe funciónfunction parato controlartreat estethis eventoprocess delevent proceso posee dos parámetros <span><span><span><em>customField yhas two parameters <span><span><span><em>customField and customFact</em></span></span></span>. ElThe primerfirst parámetroparameter esis unan array deof stringstrings yaalready instanciado que contieneinstantiated, with 10 posicionespositions (desde 0 hastato 9). El segundo The second parameter is an parámetroarray tambiénof es10 unpositions, arraybut dethe 10data posiciones,must perobe losdouble datostype debenand ser de tipo doble y a su contenido se lo tratará como un "hechoits content will be treated as a "fact". </p> <p>A continuación, un ejemplo de implementación<p>An example of implementation can be seen below:</p> <p> </p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"> <b>beforeSendData</b> </div> <div class="codeContent panelContent pdl"> <pre class="theme: DJango; brush: javascript; gutter: false" style="font-size: 12px;">la función>function beforeSendData (customField, customFact) { customField [0] = "1"; customField [1] = "feliz" getCardValue hAPI.getCardValue("campo_do_formulario"); customFact [0] = 10,.53; customFact [1] = Javajava.lang.Double. doble parseDouble (hAPI. getCardValue ("campo_valor")); }</pre> </div> </div> <p> </p> <p> </p> <p> </p> <p> </p> </div> |
Import HTML Content
Visão Geral
Conteúdo das Ferramentas