Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 30 15:04
    Goddard opened #1315
  • Jun 28 19:00
    phpcontrols opened #1314
  • Jun 23 03:13
    Jojoshua synchronize #1284
  • Jun 23 03:01
    Jojoshua synchronize #1284
  • Jun 23 01:58
    Jojoshua synchronize #1284
  • Jun 23 01:39

    kevinchappell on wrapper-plugin

    refactor: fix typo (compare)

  • Jun 23 01:39

    kevinchappell on wrapper-plugin

    merge master -- keep js folder … Move build to ESNext, drop babe… lint:fix and 48 more (compare)

  • Jun 18 07:46
    ZaheerAbbasAghani commented #1310
  • Jun 18 07:45
    ZaheerAbbasAghani commented #1310
  • Jun 17 13:48
    bhavik45 opened #1313
  • Jun 16 16:40
    Vungyr opened #1312
  • Jun 10 00:43

    dependabot[bot] on npm_and_yarn

    chore(deps-dev): bump semantic-… (compare)

  • Jun 10 00:43
    dependabot[bot] labeled #1311
  • Jun 10 00:43
    dependabot[bot] opened #1311
  • Jun 09 10:15
    tomcodes opened #1310
  • Jun 06 06:17
    silicahd commented #1309
  • Jun 06 06:17
    silicahd closed #1309
  • Jun 06 06:06
    silicahd edited #1309
  • Jun 06 06:06
    silicahd edited #1309
  • Jun 06 06:06
    silicahd opened #1309
filip-remic
@filip-remic

Hello,

I'm creating SAAS and I would like to use this plugin in it.
However, I'm wondering if it's possible to customize how the fields are displaying, for example to have "required" on first screen and not to show it when you click "edit"

Check the screenshot below so you can know what I'm talking about, I need something like this:
https://i.ibb.co/t8Lrnv3/b543222.png

Thanks

filip-remic
@filip-remic
Hello, could anyone check my last message? Thanks
Ajay Kumar
@a4ajay36
Hello, can somebody help me out that, how can i change the element from input type='text' to select options, checkbox-group, radio-group or whatever a user want, which is already populated in the formbuilder
Muhammad Yasir Abbas
@Yasir950
hi guys, I'm a new user of form builder , please anyone guide me about how can i add multi columns row in controls
Obaidraj
@Obaidraj
i am not able to use form Builder in react. I am facing the error formBuilder is not a function?
Obaidraj
@Obaidraj
jqueryWEBPACK_IMPORTED_MODULE_1(...).formBuilder is not a function
In react i am facing this issue when i am using form builder
Shripad Deshmukh
@shripadde_twitter
I need some working sample of tinymce with formbuilder
is anyone have codepen link or any other reference link
sohaibnasser
@sohaibnasser
@oneplugin I am trying to use fiddle cdn in react app. But its not working. It says "failed to load source map: Could not parse content for https://min.gitcdn.link/cdn/oneplugin/static/main/form-builder.min.js.map: Unexpected token : in JSON at position 3" which is basically not found
@oneplugin when will your update be included in formbuilder?
arsawood
@arsawood
hello
nirav-panchal
@nirav-panchal

Hello guys,

i am unable to see the language dropdown above the form builder
can someone please help me ?

Mitch Talmadge
@MitchTalmadge
Guys this chat is dead, quit asking questions here, if you haven't noticed already nobody is replying to any of them
Just trying to save you some time. https://github.com/kevinchappell/formBuilder/issues is a better place to post things, but I don't think many people are helping there either.
sherifmankarious
@sherifmankarious
Hello, I started using formBuilder and like it so much. I am trying to use the function: formBuilder.actions.removeField(Id), which seems to be working well - but I cannot seem to find a way to recognize the field ids? formData has all fields names, types...etc. but not id. The only function I am able to use to get id is formBuilder.actions.getCurrentFieldId().... but what if I need to delete programmatically a specific field (not necessarily the current one) - assume I know the name of that field, is there a way to get it's id, so I would be able to remove? Thanks!
Ryein Goddard
@Goddard
hi everyone
how can i disable the access option for all fields
Ryein Goddard
@Goddard
also why would you get a t.classList is undefined error?
not getting it in local but in prod
JackVanson
@JackVanson
Hi Guys I've just found Formbuilder and I am really loving for i see so far. I was wondering if someone could help me? I need to create a custom form field. it needs to be a Range slider. with a Min value and a Max Value. How can I get this to work? I have followed the Documentation and i am still rather confused.
Many thanks
Jack
Chris Almond
@calmond01
Hi Jack.
I also need a slider control. Ill have some time later this week and will post to share with everyone.
JackVanson
@JackVanson
Hi Chris I have managed to add a range slider in by using rangerslider.js the only issue i am having now is the value of the hidden input that takes the selected range value. this is most likely down to something within my Laravel form code.
// configure the class for runtime loading
if (!window.fbControls) window.fbControls = []
window.fbControls.push(function(controlClass) {
  /**
   * data range class
   */
  class controlDataRange extends controlClass {
    /**
     * Class configuration - return the icons & label related to this control
     * @returndefinition object
     */
    static get definition() {
      return {
        i18n: {
          default: 'Data Range',
        },
      }
    }

    /**
     * build a text DOM element, supporting other jquery text form-control's
     * @return {Object} DOM Element to be injected into the form.
     */
    build() {
        return this.markup('input', null, {type:"range", min:1, max:10, steps:1, value:0})
    }

  onRender() {
      var valueBubble = '<output class="rangeslider__value-bubble" />';

      function updateValueBubble(pos, value, context) {
          pos = pos || context.position;
          value = value || context.value;
          var $valueBubble = $('.rangeslider__value-bubble', context.$range);
          var tempPosition = pos + context.grabPos;
          var position = (tempPosition <= context.handleDimension) ? context.handleDimension : (tempPosition >= context.maxHandlePos) ? context.maxHandlePos : tempPosition;

          if ($valueBubble.length) {
              $valueBubble[0].style.left = Math.ceil(position) + 'px';
              $valueBubble[0].innerHTML = value;
          }
      }

      $('input[type="range"]').rangeslider({
          polyfill: false,
          onInit: function() {
              this.$range.append($(valueBubble));
              updateValueBubble(null, null, this);
          },
          onSlide: function(pos, value) {
              updateValueBubble(pos, value, this);
          }
      });
  }

  }

  // register this control for the following types & text subtypes
  controlClass.register('DataRange', controlDataRange)
  return controlDataRange
})
bhawana1994
@bhawana1994
Hello,Can someone help me
?
bhawana1994
@bhawana1994
When i write down the label in "" then there is issue with form rendering. Form not render completely.
Chris Almond
@calmond01
Hi Jack. Sorry for late reply. Nice slider control! Thank you.
Hi Wbhawana1994. There is definitely an issue with the Label input element on the form designer. I found this issue just yesterday while building a form. I was copying and pasting text from MS word into the Label and Value fields. Seems only the Label field has this issue as it's not an HTML input type=text, but a div. Not sure why they did this. I'm going to look into seeing if we can swap out the div for a standard input type=text as I think this would fix it.
Chris Almond
@calmond01

So just to follow up on @bhawana1994 's issue here...when you paste the double quotes into the Label attribute field and save it. On the designer it saves fine until you try to render. The pasted double quotes munge up the formBuilder JSON and it can't render correctly.

So, for some reason, when we replace the input DIV with a standard input type=text, pasting double quotes no longer causes an issue and the double quotes are escaped correctly by formBuilder.

Minimal testing has been done here on this code so use at your own risk...

These edits are in the form-builder.js at appx line 900...

if (attribute === 'label' && !opts.disableHTMLLabels) {
//inputConfig.contenteditable = true // replace label div with input by CA
//attributefield += m('div', attrVal, inputConfig).outerHTML
inputConfig.value = attrVal
inputConfig.type = 'text'
attributefield += <input ${attrString(inputConfig)}>
} else {
inputConfig.value = attrVal
inputConfig.type = 'text'
attributefield += <input ${attrString(inputConfig)}>
}

tarunmalviya
@tarunmalviya
Hi
Can we make form which is conditional
Like we want to open the new input which is dependent on other when first one which click or filled then another field will show like that.
dipoletechi
@dipoletechi_twitter
hello
dipoletechi
@dipoletechi_twitter
there is any option for adding time filed in the form
Chris Almond
@calmond01
I think there is just a Date field by default. But I bet you could make a custom field using the HTML5 input type=time pretty easily. If I wind up making one, I'll post it.
MohammadArsalan786
@MohammadArsalan786
i have concern related to the formbuilder . how to create custom edit control in custom element
Cristian Rodriguez
@Pitus660
Hi :) I'm trying change language for date time picker.. but i not found any option.
Anybody can help me?.
Thanks
is related with the formrender result not when using formbuilder
bhawana1994
@bhawana1994
Hi, I have an issue with the drag and drop with mobile devices, mac devices. Its working fine on my computer but i am facing the issue with the other devices. Drag and drop not working.
How i can fix this problem. Is there any solution for this problem?
greg-conely
@greg-conely
Hi all. Not sure if this has been addressed, but I am looking to create a column control or something where I can let users put in 2 or 3 columns on one line in the form editor.
arsawood
@arsawood
hi
arsawood
@arsawood
is it free to use . how can i use this
Chris Almond
@calmond01
Multicolumn support per Mr. @jojoshua
kevinchappell/formBuilder#1243
Hey @arsawood , yes free per MIT license. The docs will help you get started:
https://formbuilder.online/docs/
Lincoln Kantet
@linco6054
Hello i would like to preview the form after being created with react any leady would be of great assistance. Json to jsx and also to pdf
remove field not working