/*
 * Author       : rafaelpelaez
 * Generated on : 22-Nov-2009 22:08:00
 * Version      : 3.0
 */
application "subscripcion"
{
    type = public
    date format = "dd-MMM-yyyy"
    time zone = "America/Cancun"
    section Home
    {
        list  formulario_View
        {
            displayname = "formulario View"
            show  all  rows  from  formulario 
            (
                nombre
                mail
                telefono
                comentarios
                deceas_subcribirte as "deceas subcribirte"
            )
            filters 
            (
                deceas_subcribirte
            )
            options
            (
                display rows = 100
            )
        }

        form  formulario
        {
            
            nombre
            (
                type  =  text
            )

            mail
            (
                type  =  text
            )

            telefono
            (
                type  =  text
            )

            comentarios
            (
                type  =  textarea
            )

            deceas_subcribirte
            (
                displayname  =  "deseas subcribirte"
                type  =  radiobuttons
                values  =  {"si",   "no"}
            )

            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"
                    )
                }
            }
        }

    }

}
