Enable any Detail Page to also be a New and Clone Page





Snippet on Master Page
``` // toggle to edit each item/record that is new var modelArray = arguments[0], $ = skuid.$; $.each(modelArray, function(m,model){ $.each(model.registeredItems, function(i, item){ if (item.row.Id.length < 15){ item.toggleEdit(); } }); }); ```
Inline on Detail Page
``` (function(skuid){ var $ = skuid.$; $(document.body).one('pageload',function(){ var modelArray = [], UserStory_Detail = skuid.$M('UserStory_Detail'), snip = skuid.snippet.getSnippet('autoToggleEditMode'); modelArray.push(UserStory_Detail); snip(modelArray); }); })(skuid);
```

Nice work, Pat!

Thanks. This is likely to be version 1.