Open anant254 opened 11 years ago
Yup I face this issue too!
I solved this issue by commenting following lines in getOrSetTemplate function
// if(template) {
// return unescape(template);
// }
and by changing following code in fillForm function
// Replace form Id and form Index with current values
if (index.indexOf('#form#') != -1 || index.indexOf('#index#') != -1) {
index = index.replace('#form#', formId);
index = index.replace('#index#', formIndex);
} else {
index = formId + '_' + formIndex + '_' + index;
}
to
var iFormat = '#index#';
if(options.indexFormat != undefined && options.indexFormat){
iFormat = options.indexFormat;
}
// Replace form Id and form Index with current values
if (index.indexOf('#form#') != -1 || index.indexOf(iFormat) != -1) {
index = index.replace('#form#', formId);
index = index.replace(iFormat, formIndex);
} else {
index = formId + '_' + formIndex + '_' + index;
}
Used sheepit version 1.1.1.
¡Thanks @moizshabbir !
it helped, thanks
Thanks alot.. It helped me too :)
Data is not injected in the nested forms. Even in example7, given on the website, data is not injected into the nested form (checked on chrome 26 and FF 20) .