We have created a sample application based on your requirements. Here is the link to access the application.
http://creator.zoho.com/sampleapps/sample-application/#About the application:The application comprises of a Contacts Form and a Contacts View. The Contacts Form demonstrates the following features in Zoho Creator.
- Sets the Date field with current date when the form is loaded.
- Displays items in the State and City list based on selections made in the previous list.
- Displays the Phone No. field only if the check-box "Do you have phone no" is selected as "Yes"
- Validates that the Name field is not left blank.
- On submit, sends an email notification to the given email address.
To view the script that does the above actions, you can copy the application to your account by selecting
More Actions -> Copy Application option and view the scripts from the
Script tab.
Regards,
Latha.