Hello,
Some background of the problem:
-I have an entity called "booking contract"
-I want to create a ribbon button that renew the contract.
-By renewing a contract a new contract record should be created with the exact same information but not the same "end date" (that is a field) and the start date of the new record will be automaticly set so it is the same as the end date of the contract being renewed.
-I want the user to input the new "end date" when he clicks on the "renew" button.
Basicly i want to display a form with just the end date to receive the user input when he clicks the renew button and use that end date and the information from the contract being renewed to create a new contract
Do you have any suggestions on how to do this?
There are 2 methods that I think could solve this problem:
-Create a quickcreate form and displaying it on button click. The form would have all the fields filled and invisible and the end date empty and visible. Then I would use information on that form to create the new contract.
-Create an HTML page with a form to input the new end date and get the value on the js script, but I have no idea how to get the value. I already searched but did not understand.
I never created a js script and this will be my first but I have some minor experience with plugins and custom workflows.