To create a custom menu you must specify a custom_menu option for the task’s create_menu method in the task’s client module.
How to change style and attributes of form elements
How to append a record using an edit form without opening a view form?