...
On the child form you will inherit all the methods of the super form. You can overwrite this method, when you do this servoy will generate a method for you with a call of the super in it.
In the generated method you will see _super.newRecord(event) this will call the original method on the super form. You can remove this if you don't want to call this method anymore or you can put code before of after the call, if you put it after don't forget to move the 'return'.
...
Code Block |
---|
function newRecord(event) {
_super.newRecord(event)
city = 'Amersfoort'
return
}
|
other options
_super keyword
...