Plugin Directory

Changeset 2520621


Ignore:
Timestamp:
04/23/2021 09:25:24 PM (5 years ago)
Author:
mrlast
Message:

readme.txt

Location:
easy-form-builder
Files:
51 added
4 edited

Legend:

Unmodified
Added
Removed
  • easy-form-builder/trunk/emsfb.php

    r2516158 r2520621  
    44 * Plugin URI:          https://whitestudio.team
    55 * Description:         Easily create multi-step forms with tracking code support by using Easy Form Builder's drag & drop form wizard. This is the free version with limits.
    6  * Version:             1.32.5
     6 * Version:             1.32.6
    77 * Author:              WhiteStudio
    88 * Author URI:          https://whitestudio.team
  • easy-form-builder/trunk/includes/admin/assets/js/list_form.js

    r2516158 r2520621  
    1616  poster_emsFormBuilder =ajax_object_efm.poster
    1717  //console.l(`poster_emsFormBuilder`,poster_emsFormBuilder)
    18   fun_emsFormBuilder_render_view(5); //778899
     18  fun_emsFormBuilder_render_view(50); //778899
    1919});
    2020
     
    13271327    yy+=1;
    13281328  }
    1329   let rows = Array.from(Array(yy+1), () => Array(rowNo).fill(0));
     1329  let rows = Array.from(Array(yy+1), () => Array(rowNo).fill('null@EFB'));
    13301330  //console.log(rows);
    13311331  rowNo =0;
    13321332  //console.log(exp);
     1333 
    13331334  for(let ex of exp){
    13341335    rowNo +=1;
     
    13371338      if(rowNo==1) rows[0][parseInt(i)] =titles[i]
    13381339      //console.log(ex[titles[i]]);
    1339       rows[rowNo][parseInt(i)] = ex[titles[i]] != undefined ? ex[titles[i]] : 'nuLL@EFB';
    1340     }
    1341   }
     1340       ex[titles[i]] != undefined ? rows[rowNo][parseInt(i)] =ex[titles[i]] : '';
     1341    }
     1342  }
     1343  console.log(rows);
    13421344  let countEnrty = Array.from(Array(rows[0].length), () => Array(0).fill(0));
    13431345  let entry = Array.from(Array(rows[0].length), () => Array(0).fill(0));
     
    13461348    if (col!=0){
    13471349      for (let c in rows[col]){
    1348          const indx = entry[c].findIndex(x=>x == rows[col][c]);
    1349           if (indx != -1){
    1350             countEnrty[c][indx] +=1;
    1351           }else{
    1352             countEnrty[c].push(1)
    1353             entry[c].push(rows[col][c]);
    1354           }
     1350        if(rows[col][c]!='null@EFB'){
     1351          const indx = entry[c].findIndex(x=>x == rows[col][c]);
     1352           if (indx != -1){
     1353             countEnrty[c][indx] +=1;
     1354           }else{
     1355             countEnrty[c].push(1)
     1356             entry[c].push(rows[col][c]);
     1357           }
     1358        }
    13551359       
    13561360      }
     
    13591363      //console.log(rows[col]);
    13601364      for(let c of rows[col]){
    1361         //console.log(c);
     1365       // console.log(c);
    13621366        titleTable.push(c);
    13631367      }
  • easy-form-builder/trunk/public/assets/js/core.js

    r2516158 r2520621  
    494494         
    495495          //  if (exportView_emsFormBuilder[indx].type == "select") exportView_emsFormBuilder[indx].element += `<option  id='${id}' class="${v.class ? `${v.class}` : `emsFormBuilder `} ${req == true ? 'require' : ''}" value="${v.name}" name="${v.parents}" value="${v.name}" data-id="${v.id_}">${v.name}</option>`
    496             if (exportView_emsFormBuilder[indx].type == "select" && exportView_emsFormBuilder[indx].multiselect==false) exportView_emsFormBuilder[indx].element += `<option  id='${id}' class="${v.class ? `${v.class}` : `emsFormBuilder `} ${req == true ? 'require' : ''}" value="${v.name}" name="${v.parents}" value="${v.name}" data-id="${v.id_}">${v.name}</option>`
     496            if (exportView_emsFormBuilder[indx].type == "select" && exportView_emsFormBuilder[indx].multiselect==false) {
     497              console.log(exportView_emsFormBuilder[indx].element.includes("<option") )
     498              console.log(exportView_emsFormBuilder[indx])
     499              if (!exportView_emsFormBuilder[indx].element.includes("<option") ) {
     500                 exportView_emsFormBuilder[indx].element +=  ` <option style="display:none">Select an option</option>`;
     501                }
     502                exportView_emsFormBuilder[indx].element +=  `<option  id='${id}' class="${v.class ? `${v.class}` : `emsFormBuilder `} ${req == true ? 'require' : ''}" value="${v.name}" name="${v.parents}"  data-id="${v.id_}">${v.name}</option>`;
     503             
     504            }
    497505            if (exportView_emsFormBuilder[indx].type == "select" && exportView_emsFormBuilder[indx].multiselect==true) options_multiSelect.push({parents:v.parents, id:id, class:`${v.class ? `${v.class}` : 'emsFormBuilder'}`, value:v.name , name:v.name, dataId:v.id_ } )
    498506
  • easy-form-builder/trunk/readme.txt

    r2516158 r2520621  
    33Tags:                   form builder, form creator, contact form, support form, subscribe form
    44Donate link:            https://ko-fi.com/whitestudio
    5 Stable tag:             1.32.5
     5Stable tag:             1.32.6
    66Requires at least:      4.7
    77Tested up to:           5.7.0
     
    9393== Changelog ==
    9494
     95= 1.32.6 =
     96* Fixed issues
     97* UI improvements
     98
    9599= 1.32.5 =
    96100* Add new features (user registration form builder)
    97 * Fixed  issues
     101* Fixed issues
    98102* UI improvements
    99103
Note: See TracChangeset for help on using the changeset viewer.