MY_LAST_NAME = "...."   # e.gl MY_LAST_NAME = "schulz" 
#-------------------------------------------------
from dkrz_forms import form_handler, form_widgets
form_info = form_widgets.check_pwd(MY_LAST_NAME)
sf = form_handler.init_form(form_info)
form = sf.sub.entity_out.report

"""
Explanation: Generic DKRZ national archive form

This form is intended to provide a generic template for interactive forms e.g. for testing 
Please provide your last name in the cell below and press "SHIFT-Return"
End of explanation
"""


form.myattribute = "myinformation"
form.mycomment =".."
form.anything_you_like_tag = ".."

"""
Explanation: Edit form information
End of explanation
"""


form_handler.save_form(sf,"..my comment..") # edit my comment info 


"""
Explanation: Save your form
your form will be stored (the form name consists of your last name plut your keyword)
End of explanation
"""


form_handler.email_form_info(sf)

"""
Explanation: Send an email to me to complete the form later on
End of explanation
"""


form_handler.form_submission(sf)

"""
Explanation: officially submit your form
the form will be submitted to the DKRZ team to process
you also receive a confirmation email with a reference to your online form for future modifications
End of explanation
"""


