question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

$(...).formRender is not a function

See original GitHub issue

$(…).formRender is not a function(anonymous function) at main.js:27

This is my main.js

$(document).ready(function($) {

  var options = {
  controlPosition: 'left',
  messages: {
    select: 'Dropdown',
  },
  disableFields: ['autocomplete,hidden'],
  stickyControls: true,
  controlOrder: [
    'text',
    'textarea',
    'select',
    'date',
    'radio-group',
    'checkbox',
    'checkbox-group',
    'file',    
    'button',
  ]};

  var fbTemplate = document.getElementById('fb-template');
  $(fbTemplate).formBuilder(options);

  $('.form-builder-save').click(function(){
    console.log($(fbTemplate));
      var outputHtml = $(fbTemplate).formRender();
      //console.log(outputHtml);
  });
});

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
abhayathapacommented, Sep 13, 2019

@PTRPlay require('formBuilder/dist/form-render.min.js') worked for me

0reactions
jahidscommented, Oct 20, 2022

my react app form builder working fine… but form runder not working…plese anyone help me

Read more comments on GitHub >

github_iconTop Results From Across the Web

kevinchappell/formBuilder - Gitter
formRender is not a function ... Have You include this render script (<script src="https://formbuilder.online/assets/js/form-render.min.js"></script>).
Read more >
TypeError: props.render is not a function (React hook form)
I am passing methods as a prop in this form I am making with react-hook-form. Its giving me (TypeError: props.render is not a...
Read more >
$(...).formRender is not a function with vuejs component
I am trying to create a component in vuejs to use formBuilder and formRender functionalities, below is the code for my component. window....
Read more >
render - jQuery formBuilder
Setting render to false prevents formRender from making any changes to the DOM. ... jQuery(function() { var formData = '<form-template><fields><field ...
Read more >
Form Builder Overview - StudySection Blog
Below I will explain some of the important functions which can be needed ... Set formData without rendering or re-initializing formRender.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found