AnsweredAssumed Answered

Editing - Auto populate custom fields

Question asked by rhyck.m on Feb 4, 2015
Latest reply on Mar 31, 2016 by dunkl1lm

I am trying to auto populate the custom fields in the editor but no luck.


here is what I thought would work by assigning the value to the textBox but nothing...


var someValue = "My value";
var myTextBox = new dijit.form.TextBox({
        id: "firstname",
        value: someValue 
          var txtEmail = new dijit.form.TextBox({
        id: "email",
        value: "my email here" 
        var layerInfos = [{
            {'fieldName':'name','label':'Name','customField': myTextBox},
            {'fieldName':'email','label':'Email','customField': txtEmail}