| global variables | | DESCRIPTION: | | These variables are used throughout the program. Build a convenient link home ">

&[ homeurl ]

&[ hosting ]



| | maillist.mv v1.0 - Illustration of processing a form to create | a mailing list | | PROCEDURE FOR INSTALLING THIS TEMPLATE: | | 1. Copy and run | maillist.mv will automatically create | the files it needs. | | DIRECTORIES/FILES IT USES: | (These can easily be changed--See the section labelled | global variables) | | mailing.dat A delimited text file containing | the people who have signed up for | the mailing list. | | WHERE TO GET HELP: | | Htmlscript maintains an open list server for the Miva | users group. You can post messages to this list with questions | and items of interest for other htmlscript users. To subscribe | to this list send email to majordomo@htmlscript.com with the | following on the *first line* of the message body (not the subject): | | subscribe hts-users [your email address] | | To post messages to the list send email to miva-users@htmlscript.com | | NOTE TO HTMLSCRIPT USERS: The miva-users group is an alias for the | hts-users group. There is no need to subscribe to both. Messages | posted to either group are visible to the other. | This little section of code decides if the document | has been loaded because the user has submitted the form, | or because the user has come to the form for the first | time. | | The variable "beenhere" is actually a hidden FORM | field--if the form has not been submitted, it will | have a value of "" (NULL) | validateform() | | DESCRIPTION: | | validateform() checks the values the user | submitted with the form and either | | a) Saves the data to a file if it | matches the validation rules | and displays a message telling | the user they have been added to | the mailing list | | - or - | | b) Prints error messages telling the | user which fields are invalid | and redisplays the form. | | The variables "person" "street" "city" "state" "zip" "email" and "phone" were automatically | created by Miva from the submitted form values | The person's name must be at least 3 characters | long and contain at least one space | The person's email address must be at least 3 characters | long and contain an @ | formerror() | | DESCRIPTION: | | formerror() displays an error message telling the user | that they have not filled out the form correctly. | It also sets the global variable "formerror" to 1, | telling validateform() that there is an error in the form | and the submitted data should not be added to the mailing | list. The following data you submitted is not valid:

  1. | printform() | | DESCRIPTION: | | printform() displays the mailing list form

    J-Mar Realty


    Real Estate Service Request Form
    Fill out appropriate sections only!


    The below information should be filled out as best as possible for us to respond to your request.
    Name (Required)
    Street
    City
    State
    Zip
    Country
    Email Address (Required)
    Phone # Evening
    Phone # Day
    Fax


    INCOME Gross income before deductions (by hour, week, month, year)
    Mortgagor Income
    Co-Mortgagor Income
    Other Income
    # of people in family
    Amount of cash down payment you have or can get?


    DEBTS

    Debts with more than 12 months to pay
    Car Payment
    Boat Payment
    Furniture
    Child Support
    Visa Card
    Visa Card
    Mastercard
    Sears
    Penneys
    Other Credit Card
    Other Credit Card
    Misc. Loan
    Other
    Other
    Other


    My Minimum Housing Requirements Are (fill out for custom search):
    # of bedrooms
    # of baths
    # of car garage needed
    Lot Size/Acreage
    Approx. Sq. Feet
    Comfortable Monthly Payment
    Locations/Cities I Would Consider
    Have a question - Ask Me!!!
    Send me a Relocation packet for your area!
    Please send me a list of HUD/VA homes in my area






    | Create a hidden form field that will let us know we | are processing submitted form data
    | savedata() | | DESCRIPTION: | | savedata() uses MvEXPORT to save the submitted form | data to a file. Name: &[ name ] Street: &[ street ] City: &[ city ] State: &[ state ] Zip: &[ zip ] Country: &[ country ] Email Address: &[ email ] Phone # Evening: &[ phone1 ] Phone # Day: &[ phone2 ] Fax: &[ fax ] INCOME Gross income before deductions (by hour, week, month, year) Mortgagor Income: &[ income_a ] Co-Mortgagor Income: &[ income_b ] Other Income: &[ other_income ] # of people in family: &[ people ] Amount of cash down payment you have or can get?: &[ downpayment ] DEBTS - Debts with more than 12 months to pay Car Payment: &[ car ] Boat Payment: &[ Boat ] Furniture: &[ furniture ] Child Support: &[ child_support ] Visa Card: &[ visa1 ] Visa Card: &[ visa2 ] Mastercard: &[ mastercard ] Sears: &[ sears ] Penneys: &[ penneys ] Other Credit Card: &[ cc1 ] Other Credit Card: &[ cc2 ] Misc. Loan: &[ miscloan ] Other: &[ other1 ] Other: &[ other2 ] Other: &[ other3 ] My Minimum Housing Requirements Are # of bedrooms: &[ bedrooms ] # of baths: &[ baths ] # of car garage needed: &[ cargarage ] Lot Size/Acreage: &[ lot ] Approx. Sq. Feet: &[ sqft ] Comfortable Monthly Payment: &[ pymt ] Locations/Cities I Would Consider: &[ location ] Have a question - Ask Me!!!: &[ questions ] Send me a Relocation packet for your area!: &[ relocation ] Please send me a list of HUD/VA homes in my area: &[ area ]

    Your prequal information has been sent to J Mar Realty 909-674-1419. We will respond to your inquiry as soon as possible.

    Thank you for making J Mar Realty your broker for your Real Estate needs.

    Sincerely,


    Babara Harrison, Broker



    http://127.0.0.1/j-mar/prequal.mv &{ hosting }