I am new to Python and Django. Recently, my team ask me to develop a Django web app for the company. It requires use LDAP authentication in Django but not a common way that I can search on google.
On index.html page. I will create two button "use for self" and "use for others", there will be couple rows of textboxes underneath for employee information such as employee id, name, email address.
When user choose "use for self", all the employee information need automatically filled up and submit button at bottom will turn to active from disabled
When user choose "use for others", he will need fill in the employee id. If the id is valid, all the rest information will then auto filled up and submit button active.
I want ask:
What is the easiest way to approach these functions in Django?
Is there anyone can provide me the sample code for doing this?
Many thanks!!!