Problems with repeatgroup and save form

raimis

Member
1. when press + repeat group copy value
1group.png plusgroup.png
in group Copy values set = No

2. when press + repeatgroup add new goup and all stuck..... not work other repeats or databasejoin...need save form and them work fien and always when need + new repeatgroup..... in console see this error
JavaScript:
TypeError: AutoComplete is not a constructor
window.FbDatabasejoin<.cloneAutoComplete()databas...1291593 (line 2)
d/e<()mootools-core.js (line 38)
window.FbDatabasejoin<.cloned(a=1)databas...1291593 (line 2)
d/e<()mootools-core.js (line 38)
e<.duplicateGroup/<(a=CloneObject { $events=CloneObject, options=CloneObject, activePopUp=false, more...})form.js...1291593 (line 2)
.each(b=function(), a=undefined)mootools-core.js (line 9)
e<.duplicateGroup(b=Object { originalEvent=Event click, type="click", timeStamp=114536515, more...})form.js...1291593 (line 2)
d/e<()mootools-core.js (line 38)
e<.watchGroupButtons/<(a=Object { originalEvent=Event click, type="click", timeStamp=114536515, more...})form.js...1291593 (line 2)
exec()jquery....1291593 (line 149)
wrapper()jquery....1291593 (line 161)
m.event.dispatch(a=Object { originalEvent=Event click, type="click", timeStamp=114536515, more...})jquery.min.js (line 4)
m.event.add/r.handle(a=click clientX=1467, clientY=124)jquery.min.js (line 4)
  

...o-complete",document.id(a.id).value="",new AutoComplete(this.element.id,this.opt...

3. when add new form "Save" - save and close the form and "Apply" - save and stay in form, buttons work fine, but when form is editing "Save" "Apply" and "Close" buttons make same action - save and stay in form.
 
thanks, but.....

i make js
JavaScript:
requirejs(['fab/fabrik'], function() {
   Fabrik.addEvent('fabrik.form.group.duplicate.end', function(form, event) {
       //form.mockSubmit();
       jQuery('button[name="apply"]').click();
   });
});
because for me need repeat group ID when add new record in this group. when press duplicate group form apply and i get new repeatgroup ID, but in database join field with autocpmplete copy value... :/ why ?
repeatgroupid.png
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top