/*
 * Author       : sampleapps
 * Generated on : 23-Nov-2009 00:29:04
 * Version      : 3.0
 */
application "Form URL"
{
    type = public
    date format = "dd-MMM-yyyy"
    time zone = "America/Los_Angeles"
    section Home
    {
        form  Registration
        {
            
            First_Name
            (
                displayname  =  "First Name"
                type  =  text
            )

            Last_Name
            (
                displayname  =  "Last Name"
                type  =  text
            )

            Email_Id
            (
                displayname  =  "EmailId"
                type  =  email
            )

            UsedUrl
            (
                type  =  text
            )

            actions
            {
                on add
                {
                    on load
                    {
                        disable UsedUrl;
                    }
                    Submit
                    (
                        type  =  submit
                        displayname  =  "Submit"
                    )
                    Reset
                    (
                        type  =  reset
                        displayname  =  "Reset"
                    )
                }
                on edit
                {
                    on load
                    {
                        disable UsedUrl;
                    }
                    Update
                    (
                        type  =  submit
                        displayname  =  "Update"
                    )
                    Cancel
                    (
                        type  =  cancel
                        displayname  =  "Cancel"
                    )
                }
            }
        }

        list  Registration_View
        {
            displayname = "Registration View"
            show  all  rows  from  Registration 
            (
                First_Name as "First Name"
                Last_Name as "Last Name"
                Email_Id as "EmailId"
                UsedUrl
            )
            options
            (
                display rows = 100
            )
        }

    }

}
