FAQ

Search Discussions

62 discussions - 158 posts

  • Hello, I am trying to use custom template for my form. Here is the code of *html:* <script type="text/template" id="template" <form enctype="multipart/form-data" <div data-fields="address" </div ...
    Sergei KobaSergei Koba
    May 10, 2014 at 8:47 am
    May 10, 2014 at 8:47 am
  • Hello, I have a problem =) I wish to add existing items to List when my model is fetched. I have such a model: app.Role = Backbone.Model.extend({ urlRoot: '/roles/rest', default:{ ...
    Sergei KobaSergei Koba
    May 1, 2014 at 11:51 am
    May 1, 2014 at 3:56 pm
  • I've attempted to add a listener to the initialize function of my Backbone.Form with no success. The client side model validation works correctly and then triggers the model.save() which works ...
    Varr WillisVarr Willis
    Apr 22, 2014 at 5:05 am
    Apr 22, 2014 at 10:42 pm
  • Hi guys! I've a problem! i don't know why if i write my form like this fieldsets: the deep attribute is skipped, instead if i write like without use the fieldset it works! i need to have defferent ...
    Alessandro franciaAlessandro francia
    Apr 11, 2014 at 11:06 am
    Apr 11, 2014 at 11:06 am
  • Hi, I'm upgrading from backbone form 0.9 to the last version, is changed the way to use template (or maybe i used wrongly it before) bow my question is; if i've this template <form ...
    Alessandro franciaAlessandro francia
    Apr 10, 2014 at 10:37 am
    Apr 10, 2014 at 1:18 pm
  • I was wondering if anyone has patched up a markdown editor using, for example, bootstrap-markdown? [1] http://toopay.github.io/bootstrap-markdown/ -- You received this message because you are ...
    Manos BatsisManos Batsis
    Feb 22, 2014 at 6:07 pm
    Feb 23, 2014 at 7:09 am
  • I was wondering how others maintain and perhaps merge schema definitions e.g. for overlapping models or different usecases like view, create, update, search etc? Cheers, Manos -- You received this ...
    Manos BatsisManos Batsis
    Feb 17, 2014 at 8:17 pm
    Feb 22, 2014 at 6:05 pm
  • with this code : var modform = new Backbone.Form({ //Schema schema: { id: 'Number', name: 'Text', password: 'Password' }, //Data to populate the form with data: { id: 123, name: 'Rod Kimble', ...
    Me moiMe moi
    Dec 5, 2013 at 9:05 pm
    Dec 6, 2013 at 10:32 am
  • Hi, I am trying to modify the included bootstrap form template to show a submit button when a "submitbtn" flag is set in the templateData field. The problem is the button is repeated on nested models ...
    Zac GrossZac Gross
    Nov 27, 2013 at 1:39 am
    Nov 27, 2013 at 1:39 am
  • I am currently working on project that uses Marionette.js that is going to use a lot of forms to help the user navigate through search results and I thought backbone-forms would be perfect for that ...
    JbalcitisJbalcitis
    Nov 18, 2013 at 8:52 pm
    Nov 19, 2013 at 1:07 pm
  • I have a custom form editor Form.editors.Hierarchy = Form.Editor.extend({ tagName: 'div', }); which I am using in another form.editor Product.View.ProductForm = Form.extend({ , schema: { category ...
    David PenningtonDavid Pennington
    Nov 14, 2013 at 6:42 pm
    Nov 14, 2013 at 6:42 pm
  • Hi, I am new to Backbone forms, that why my question might be stupid. I have a simple form that I am using to add new records to database. In my case after form.commit and record.save I want to reset ...
    Jakub WolnyJakub Wolny
    Nov 8, 2013 at 3:02 pm
    Nov 10, 2013 at 7:45 pm
  • Hi, How can I customize the error class? I am updating the templates to use Bootstrap3 and need to change the error class from "error" to "has-error". Thanks for your time! -- You received this ...
    Emilian FelecanEmilian Felecan
    Oct 23, 2013 at 12:56 pm
    Oct 23, 2013 at 1:04 pm
  • Hello, I'm currently attempting to upgrade a large Backbone application from version 0.9.2 to version 1.0.0. In this upgrade process, I am also attempting to upgrade Backbone-forms to version 0.9.12 ...
    Nick PrestaNick Presta
    Oct 21, 2013 at 6:30 pm
    Oct 21, 2013 at 6:40 pm
  • Hi, I'm using backbone-forms amd version When my app is loading I have this error: Uncaught TypeError: Cannot call method 'template' of undefined backbone-forms.js:454 It appears that undercore is ...
    AlexandreAlexandre
    Oct 15, 2013 at 3:48 pm
    Oct 15, 2013 at 4:32 pm
  • Is there any reason not to allow the regexp validator parse a string? One line of code on line 527: if ('string' === typeof options.regexp) options.regexp = new RegExp(options.regexp); -- You ...
    Greg Sabia TuckerGreg Sabia Tucker
    Oct 8, 2013 at 3:31 am
    Oct 8, 2013 at 3:31 am
  • I'm working on a site with several very long fields, and wanted a way to show a summary/minimized version, where only the fields that have data would get displayed. In case anyone else wants this in ...
    John TitusJohn Titus
    Aug 9, 2013 at 8:01 pm
    Aug 9, 2013 at 8:01 pm
  • I'm just coming up to speed on backbone-forms. my user model contains password and passwordConfirm fields. my goal is to ensure these fields match and provide input to the user as soon as possible ...
    Don BradfordDon Bradford
    Jul 31, 2013 at 4:25 pm
    Aug 21, 2013 at 11:36 am
  • I'm trying to use the Date type in a form, but when I use it I get that error, also I can't use the other data types, this is my schema definition: schema: { creator_name: { type: 'Text',validators ...
    Memodev07Memodev07
    Jul 18, 2013 at 10:49 pm
    Jul 19, 2013 at 5:22 pm
  • Hi! Backbone-forms helps me a lot in my app, but I was wondering how can I make a custom editor for backbone-forms which consists of multiple fields ? (e.g. address (country/city/street)) Or maybe is ...
    Дмитрий СечинДмитрий Сечин
    Jul 12, 2013 at 12:12 pm
    Jul 12, 2013 at 12:12 pm
  • In the README me it says that this should work: listEditor.on('item:lastName:change', function(listEditor, itemEditor, lastNameEditor) { I tried, but I couldn't figure it out, as you can see in this ...
    Peter GrassbergerPeter Grassberger
    Jul 10, 2013 at 2:15 pm
    Jul 10, 2013 at 2:17 pm
  • I want to use custom template and want to give a div or span where I want to display validation error for a field. Something like <script id="formTemplate" type="text/html" <form <h2 Name</h2 <div ...
    Srinu vasuSrinu vasu
    Jul 10, 2013 at 11:27 am
    Jul 10, 2013 at 4:53 pm
  • I have a custom template, and a custom editor for a type of field I'm using. I'd like the editor to use the custom field template by default, but I can't see how to force that in the editor ...
    John TitusJohn Titus
    Jul 9, 2013 at 4:24 pm
    Jul 11, 2013 at 8:31 am
  • That will work but if you want to the re render you also need to validate existing fields and save the model to not lose changes. I also ran into issues where added fields were not bound and saved ...
    Christopher HunterChristopher Hunter
    Jul 1, 2013 at 11:54 am
    Jul 1, 2013 at 11:54 am
  • Hi, I currently have a schema which loads brilliantly using nested models. When i try and style it with a template i dont get the expected results though Template is similar to the following <div ...
    Scott DuttonScott Dutton
    Jun 19, 2013 at 3:03 pm
    Jun 24, 2013 at 9:52 am
  • Hi all It appears that when one creates an Object or NestedModel editor, a nested form is created that uses the parent form view's constructor. Given that the parent form has a bunch of code that is ...
    Daniel ZollingerDaniel Zollinger
    Jun 13, 2013 at 3:01 am
    Jun 13, 2013 at 3:01 am
  • Hi I want to have repeat data in a form. Have a basic form schema with no fields repeat. But, repeat tags in the html and the two fields showed. If I do that only the last one is shown in the ...
    Patricia JuárezPatricia Juárez
    Jun 10, 2013 at 6:48 am
    Jun 10, 2013 at 6:48 am
  • Hi! How can I change the schema after initialize the form and update the changes in the html automatically?? I have the next code but it does not work. I tryed to render again the form but all the ...
    Patricia JuárezPatricia Juárez
    Jun 5, 2013 at 9:48 am
    Jun 30, 2013 at 12:51 am
  • Hii, I need help with the update of information in a rendered form. How can I update a select field after the form is rendered? I am trying and searching information about setValue and setOptions and ...
    Patricia JuárezPatricia Juárez
    Jun 4, 2013 at 9:31 am
    Jun 4, 2013 at 9:40 am
  • Is posible to append a form element to the parent before render it? Or maybe assign the element to some tag from the parent? I tryed and It did not work, nothing was rendered. In several books that ...
    Patricia JuárezPatricia Juárez
    Jun 4, 2013 at 7:52 am
    Jun 5, 2013 at 9:59 am
  • Hello! I'm kind of new with this plugin, I have this simple model in my app: define(function(require){ var TempFile = Backbone.Model.extend({ schema: { file: {type: 'File', template ...
    Nestor ManriqueNestor Manrique
    May 23, 2013 at 4:33 pm
    May 23, 2013 at 4:33 pm
  • Hello all, I need to set the tabindex on my form elements, but can't find anything in the documentation that would suggest this is possible (i've got a partial solution using jquery and the render ...
    Christopher MaujeanChristopher Maujean
    May 21, 2013 at 10:02 pm
    May 21, 2013 at 10:02 pm
  • Hi, right now I'm using custom templates var form = new Backbone.Form({ template: _.template($('#formTpl').html()), model: new UserModel() //defined elsewhere}); and in this template there are some ...
    Fabian CarrilloFabian Carrillo
    May 16, 2013 at 7:05 pm
    May 16, 2013 at 9:49 pm
  • Hi , I was struggling to change editorAttrs dynamically. Setting the attribute, e.g. disabled, during creation of the form works fine and even changing it later like ...
    TomwTomw
    May 9, 2013 at 4:53 pm
    Jun 18, 2013 at 3:51 am
  • Hi guys, I was recently made aware of the Backbone Forms project and how it may relate to my own project, Metawidget. I've written a little blog post here ...
    Richard KennardRichard Kennard
    Apr 22, 2013 at 2:32 am
    Apr 22, 2013 at 2:32 am
  • Hi, using a Number type editor I realized that the "change" signal is not emitted if the spinners are used to change the value in the fields: see: http://jsfiddle.net/c5QHr/109/ It works as it should ...
    TomwTomw
    Mar 25, 2013 at 11:07 am
    May 26, 2013 at 4:53 am
  • I want to create a field with a select menu and a number field (for example, "Recur on the 1st Friday of every 3 months", where "1st" and "Friday" are select menus and "3" is a number field.) Is this ...
    Austin BloomAustin Bloom
    Mar 20, 2013 at 6:32 pm
    Mar 20, 2013 at 6:54 pm
  • Hi, I'm using Backbone.Form in dialogs, to edit some data in an object used and displayed with Backbone. When validated in the dialog, the data are saved in the object and backbone send the full ...
    Xavier NOPREXavier NOPRE
    Mar 1, 2013 at 3:18 pm
    Mar 3, 2013 at 5:04 pm
  • Hi, I don't understand why if in a view I insert a event on a input checkbox this dom element does not behave more normally and not render the check with the DOM update insert the checked attribute ...
    Montanari AlbertoMontanari Alberto
    Mar 1, 2013 at 11:31 am
    Mar 1, 2013 at 11:31 am
  • Hi, I've looked at the docs but I'm still struggling a bit getting this to work. Does anyone have an example Rails application set up they'd be willing to share? I know there was a post in these ...
    PrizefighterPrizefighter
    Mar 1, 2013 at 3:47 am
    Mar 1, 2013 at 3:47 am
  • Backbone.Form version 0.11.0 is out now with various fixes and improvements, including support for Backbone version 0.9.10. https://github.com/powmedia/backbone-forms Changelog: Update for Backbone ...
    CharlieCharlie
    Feb 21, 2013 at 4:57 pm
    Feb 21, 2013 at 4:57 pm
  • Hi guys, So I have the following problem, I want to have a base schema that can be extended. So what I did was: Creat a base Schema: Creat a extension schema (that will be in a different file): var ...
    Mikhael SantosMikhael Santos
    Feb 18, 2013 at 11:48 am
    Feb 19, 2013 at 4:28 pm
  • spent a ton of time trying to get this to work... followed this example with modifications i made... var MyForm = new Backbone.Form({ schema: { title: { type: 'Select', options: ['Mr', 'Mrs', 'Ms'] ...
    dot Configdot Config
    Feb 13, 2013 at 12:02 am
    Apr 2, 2014 at 11:41 am
  • Hi. How correct load templates for editors, "bootstrap.js", by require.js. How to say require.js load bootstrap.js right after backbone-forms.js Thanks for help.
    Ivan MaximenkoIvan Maximenko
    Jan 17, 2013 at 6:24 pm
    Mar 20, 2013 at 2:25 pm
  • Hi, the framework has support for ie8? i have a page running , but the forms are not rendering at all with no error Thanks!
    Andres PardiniAndres Pardini
    Jan 14, 2013 at 6:05 pm
    Jan 15, 2013 at 12:12 pm
  • Hi, My problem is simple : I want users to be able to type "," or "." for numeric values. Actually, only "." is supported by backend. My idea is to change text value replacing "," by "." before ...
    Xavier NOPREXavier NOPRE
    Jan 7, 2013 at 1:20 pm
    Jan 9, 2013 at 3:14 pm
  • I just wanted to say thank you for such a great library! Over the weekend I started building out a similar concept for some open source tools we're building where I work, and also for an open source ...
    Joshua GoughJoshua Gough
    Dec 31, 2012 at 6:05 pm
    Dec 31, 2012 at 6:05 pm
  • Is there a way of specifying "null" as an option in a select? options: new Groups(); turned into: var collection = Groups(); collection.fetch().done(_.bind(function() { var form = new Backbone.Form( ...
    Stefan NorbergStefan Norberg
    Dec 29, 2012 at 2:33 am
    Jan 15, 2013 at 7:25 am
  • Hi, Can we have the amd 'Backbone' changed to 'backbone'? This makes more sense? Thanks M.
    Mudi UgbowankoMudi Ugbowanko
    Dec 15, 2012 at 10:45 pm
    Dec 27, 2012 at 5:59 pm
  • Hello! I want to validate some form field in blur event. How can i do it ?
    Олег ЗахаренокОлег Захаренок
    Nov 18, 2012 at 5:50 am
    Nov 20, 2012 at 11:21 am
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupbackbone-forms @
categoriesjavascript
discussions62
posts158
users56
websitemarionettejs.com

Top users

Charles Davison: 32 posts Jeff Garbers: 9 posts Patricia Juárez: 8 posts Scott Dutton: 5 posts Phil Freo: 5 posts Manos Batsis: 5 posts Varr Willis: 5 posts Xavier NOPRE: 5 posts Alessandro francia: 4 posts Alexandre: 4 posts Me moi: 4 posts Jordan Cooperman: 4 posts Sergei Koba: 3 posts Christopher Hunter: 3 posts Memodev07: 3 posts A Sharma: 3 posts Simon Hopkin: 3 posts Nonlux: 3 posts F. Summers: 2 posts Tomw: 2 posts
show more