/*
 * Author       : canucktea
 * Generated on : 24-Nov-2009 13:16:13
 * Version      : 3.0
 */
application "Wilms-Kids Members"
{
    type = public
    date format = "dd-MMM-yyyy"
    time zone = "America/Los_Angeles"
    section Home
    {
        form  Member_Info
        {
            displayname  =  "Member Info"
            captcha = true
            success message  =  "Data Added Successfully!"
            
            column
            {
                Name
                (
                    type  =  text
                )

                Siblings_names
                (
                    displayname  =  "Siblings' names"
                    type  =  text
                )

                Child_s_name
                (
                    displayname  =  "Child's name"
                    type  =  text
                )

                Diagnosis
                (
                    displayname  =  "Diagnosis (DX)"
                    type  =  text
                )

                DX_Date_OT_Date
                (
                    displayname  =  "DX Date/OT Date"
                    type  =  text
                )

            }
            column
            {
                Geographic_Location
                (
                    displayname  =  "Geographic Location"
                    type  =  text
                )

                Email
                (
                    type  =  email
                )

                Website
                (
                    type  =  text
                )

                Other_Info
                (
                    displayname  =  "Other Info"
                    type  =  textarea
                )

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

        list  Member_Info_View
        {
            displayname = "Member Info View"
            show  all  rows  from  Member_Info 
            (
                Name
                Child_s_name as "Child's name"
                Siblings_names as "Siblings' names"
                Geographic_Location as "Geographic Location"
                Diagnosis
                DX_Date_OT_Date as "DX Date/OT Date"
                Email
                Website
                Other_Info as "Other Info"
            )
            options
            (
                display rows = 100
            )
        }

    }

}
