I have a form.io builder initialized like
window.onload = function() {
Formio.icons = 'fontawesome';
Formio.builder(document.getElementById('builder'), schema ? JSON.parse(schema) : {}).then(function(builder) {
changeJson(builder.schema);
builder.on('change', function() {
changeJson(builder.schema);
});
builder.on('submit', function() {
return false;
});
});
};
The above code opens a form.io builder. I want a default field like email added to the builder and this field should not be allowed to be deleted.
Please advise.