Is there something explicitly wrong with the following code, or is the BasicForm not supposed to be able to load records into existing markup?
PHP Code:
<script type="text/javascript" src="/js/Ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/js/Ext/ext-all.js"></script>
<script>
Ext.onReady(function(){
testForm = new Ext.form.BasicForm('test');
testForm.render('test');
});
</script>
<form name="test" id="test">
<input type="text" name="name" />
</form>
When using the above code, and inspecting the object after the page renders, the items array is empty, which is why the loadRecord, setValues function(s) aren't working properly, is there some gross error in how I'm attempting to use BasicForm?