BUG-14824 Function DynaformOnload not working in designer SOLVED

- Runs the loaded twice
- Delete call in class.xmlform.php