# please edit the (red) information below: Name, email and project the data belongs to
from dkrz_forms import form_handler
my_project = "DKRZ_CDP"

my_first_name = "...."  # example: sf.first_name = "Harold"
my_last_name = "...."   # example: sf.last_name = "Mitty"
my_email = "...."       # example: sf.email = "Mr.Mitty@yahoo.com"
my_keyword = "...."     # example: sf.keyword = "mymodel_myrunid"

sf = form_handler.init_form(my_project,my_first_name,my_last_name,my_email,my_keyword)

"""
Explanation: Generic DKRZ national archive form
This form is intended to provide a generic template for interactive forms e.g. for testing 
... to be finalized ...
End of explanation
"""


sf.myattribute = "myinformation"

"""
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)
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
"""


