Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 24 12:22
    AnnysStyle commented #478
  • Nov 21 11:38
    atulsilori edited #1343
  • Nov 21 11:37
    atulsilori opened #1343
  • Nov 21 11:24
    atulsilori commented #1312
  • Nov 21 11:18
    atulsilori commented #1312
  • Nov 21 11:18
    atulsilori commented #1312
  • Nov 16 21:04
    Xsmael commented #884
  • Nov 16 11:36

    dependabot[bot] on npm_and_yarn

    (compare)

  • Nov 16 11:36
    dependabot[bot] closed #1341
  • Nov 16 11:36
    dependabot[bot] commented #1341
  • Nov 16 11:36

    dependabot[bot] on npm_and_yarn

    chore(deps): bump loader-utils … (compare)

  • Nov 16 11:36
    dependabot[bot] labeled #1342
  • Nov 16 11:36
    dependabot[bot] opened #1342
  • Nov 08 11:50

    dependabot[bot] on npm_and_yarn

    chore(deps): bump loader-utils … (compare)

  • Nov 08 11:50
    dependabot[bot] labeled #1341
  • Nov 08 11:50
    dependabot[bot] opened #1341
  • Nov 08 00:27
    lucasnetau commented #1340
  • Nov 04 15:27
    calmond01 commented #1237
  • Nov 04 09:59
    MisterDuval commented #884
  • Nov 01 05:40
    Sharad2390 commented #1340
Marin Nikolli
@sibalonat
oh, i remember this part
1 reply
you have set fbinstances, outside the event
    addPageTab.addEventListener(
        "click",
        (click) => {
            click.preventDefault();
            const tabCount = document.getElementById("tabs").children.length;
            const tabId = "page-" + tabCount.toString();
            const $newPageTemplate = document.getElementById("new-page");
            const $newTabTemplate = document.getElementById("add-page-tab");
            const $newPage = $newPageTemplate.cloneNode(true);
            $newPage.setAttribute("id", tabId);
            $newPage.classList.add("fb-editor");

            const $newTab = $newTabTemplate.cloneNode(true);

            $newTab.removeAttribute("id");
            const $tabLink = $newTab.querySelector("a");
            $tabLink.setAttribute("href", "#" + tabId);
            $tabLink.innerText = "Page " + tabCount;

            $newPageTemplate.parentElement.insertBefore($newPage, $newPageTemplate);
            $newTabTemplate.parentElement.insertBefore($newTab, $newTabTemplate);
            $fbPages.tabs("refresh");
            $fbPages.tabs("option", "active", tabCount - 1);

            fbInstances.push($($newPage).formBuilder(fbOptions));
        }, false);


    fbInstances.push(fbEditor.formBuilder(fbOptions));
in this you should be fine. it kind of weird to be honest, but it works
Amitguptas
@Amitguptas
find error jQuery.Deferred exception: fbEditor is not defined ReferenceError: fbEditor is not defined
Gitpream
@Gitpream
how do I bundle it with webpack ,, I made some changes
Amitguptas
@Amitguptas
form builder is not useful so i suction you change requirement.
rajaidesign
@rajaidesign
How to add table attributes
rajaidesign
@rajaidesign
Invalid control type. (Type: hr, Subtype: undefined). Please ensure you have registered it, and imported it correctly
filip-remic
@filip-remic

i have same issue as tomcodes from jun 09 :

Hello again, question on the drag'n'drop of fields.
It is working flawlessly on a computer. However on touch devices (iPhone, iPad) it does not work, instead the click is "taken" by the scroll.

I have no problems on the demo here https://formbuilder.online/
But when I grab the basic exemple available and put it in a .html file, it does not work: https://formbuilder.online/docs/getting-started/
Am I missing something?

1 reply
Amitguptas
@Amitguptas
checkbox Dependency ?
kevin-theorymesh
@kevin-theorymesh
hey guys, have you created a table input plugin?
1 reply
Grazyen96
@Grazyen96
Hi guys, is there a way to change the action buttons location? for example on top of the controls, thanks <3
Amitguptas
@Amitguptas
hi need of formbuilder checkbox dependency help
Amitguptas
@Amitguptas
screenshot.png
i have need multiple step form with checkbox dependency.
?
JavaLove810
@JavaLove810
Hi everyone,is there way to add conditonal and custom validation in form builders
conditoal is like if we want show and hide one field based on other filed options
avielpalgi
@avielpalgi
Hi everyone. I want to set that every time i press on edit field. all the other fields closed. How can i do that? if i will i set closeAllField in the onOpenFieldEdit is closed the current field too
Quebix Test
@Quebix_test_twitter
@Amitguptas Hi
How many more pages can be added in multi tab?
11 replies
sakthi-13
@sakthi-13
hi everyone, i need how to store the file because i am getting the error.
file upload XHR returned response code 405 error. anybody know that issue pls help me.
Quebix Test
@Quebix_test_twitter
@Amitguptas I can create up to 12 tabs then the form cannot be updated
Amitguptas
@Amitguptas
if i checked on check box than open dependency text filed open and save. i need.
aleksandrovich
@aleksandrovich715
How can i customize the query formbuilder?
i need to change all elements and their properties.
שלמה
@ShlomoCode
Hi!
cherrys26
@cherrys26
This message was deleted
1 reply
david stern
@davidstern:matrix.org
[m]
hi I can help you. Please ping me via this link "https://join.skype.com/invite/vNeE45Svtd9P"
david stern
@davidstern:matrix.org
[m]
:point_up: Edit: hi
Azer Engazzou
@azerengazzou
Hello guys
any one can help me ? I'm using FormBuilder and i need to save the form in my BD , I want to know how can i use the JSON result
DB*
cherrys26
@cherrys26
Hi, is there any way I can add a default attribute (ie. options, rows, toggle) to a control plugin I create?
Azer Engazzou
@azerengazzou
How can i call a function in the onsave ?
שלמה
@ShlomoCode

Hi, is there any way I can add a default attribute (ie. options, rows, toggle) to a control plugin I create?

Yes it is possible

You need to initialize the widget with the formData option in the options object
namely:
const data = [{"type":"header","subtype":"h1","label":"Header","access":false},{"type":"header","subtype":"h1","label":"Header","access":false},{"type":"number","required":false,"label":"Number","className":"form-control","name":"number-1660299899127-0","access":false}]; 
$('#fb-editor').formBuilder({ formData: data})
The options can be found here:
image.png
שלמה
@ShlomoCode
builder.actions.getData('json')
@cherrys26
John Garland
@johnpg82
Hi! Is anyone available for hire to help me build some custom widgets?
davidom0101
@davidom0101
When a new form is created does it create the tables in the database? If not, is this possible to implement?
John Garland
@johnpg82
@davidom0101 I'm working on a script that converts the json output to a postgres database. Is anyone else interested in working on this as an open source project?
3 replies
שלמה
@ShlomoCode
A new form does not create anything in the database. But you can save the JSON and load it every time the form is initialized, and after the form is filled you simply save it as an HTML string.
שלמה
@ShlomoCode
There is no need for a loop, simply pass an object to the formData option in the initialization of the constructor