Skip to main content

Select Box For Marital Status Options | HTML Drop Down For Marital Status

HTML drop down or select box for Marital Status Options

Database structure for the marital status field

The developers use this gender drop down for there HTML forms such as any registrations form, inquiry forms and applications form. Copy following HMTL code in your webpage.

<select name="marital_status" id="marital_status">
    <option value="">-Select Marital Status-</option>
    <option value="Single">Single</option>
    <option value="Married">Married</option>
    <option value="Widowed">Widowed</option>
    <option value="Separated">Separated</option>
    <option value="Divorced">Divorced</option>
</select>

Example of Marital Status Dropdown

Marital Status Options

  • Single
  • Married
  • Widowed
  • Separated
  • Divorced

MySQL Database details to stored this drop down values:

Some of developers user the VARCHAR(20) to store these values in the database table. I suggest please use the ENUM data type to stored these values.

ENUM ('Single','Married','Widowed','Separated','Divorced') | Default Value 'Single'
SQL For MySQL database:
ALTER TABLE `tbl_test` ADD `gender` ENUM('Single','Married','Widowed','Separated','Divorced') NOT NULL DEFAULT 'Single';

Marital Status Options Meaning

  • Married
This category/option includes persons whose opposite- or same-sex spouse is living, unless the couple is separated or a divorce has been obtained. Also included are persons in civil unions.
  • Widowed
This category/option includes persons who have lost their legally-married spouse through death and have not remarried. Those who live with a common-law partner are included in this category.
  • Separated
This category/option includes persons currently legally married but who are no longer living with their spouse (for any reason other than illness, work or school) and have not obtained a divorce. Those who live with a common-law partner are included in this category.
  • Divorced
This category/option includes persons who have obtained a legal divorce and have not remarried. Those who live with a common-law partner are included in this category.
  • Single
This category/option includes persons who have never married (including all persons less than 15 years of age). It also includes persons whose marriage has been legally annulled who were single before the annulled marriage and who have not remarried. Those who live with a common-law partner are included in this category.

Comments

  1. Nice article. Are you looking forward to start Matrimonial PHP Script in 2022? Your wait is over because we have a team of developers and designers which can work according to your needs. so discuss and develop a unique app. PHP Matrimonial Script provided by one of the best professional matrimonial script development companies

    ReplyDelete

Post a Comment

Thanks for the comment and review. We will connect you soon.

Popular posts from this blog

HTML Select Box for Gender Option | Gender Dropdown Values

HTML drop down or select box for gender options Database structure for the gender field The developers use this gender drop down for there HTML forms such as any registrations form, inquiry forms and applications form. Copy following HMTL code in your webpage. <select name="gender" id="gender">     <option value="">-Select Gender-</option>     <option value="Male">Male</option>     <option value="Female">Female</option>     <option value="Other">Other</option> </select> Select Box of Gender Gender Options: Male Female Other In the option, we can take 'M' for Male, 'F' for Female and 'O' for Other. MySQL Database details to stored this drop down values: Some of developers user the VARCHAR(20) to store these values in the database table. I suggest please user the ENUM data type to stored these values. ENUM ('Ma

Payment Method HTML Dropdown | Payment Method HTML Select Box Options

HTML drop down or select box for Payment Method Options Many forms need to add or show the payment method. The uses of payment method select box in the billing software, hotel/restaurant software, GST filling the form and financial and banking software or web applications. Best Deal The payment method is used for small software/web application and also large software/web application in many sectors. Copy following HMTL code in your webpage. <select name="payment_method" id="payment_method">     <option value="">-Select Payment Method-</option>     <option value="Cash">Cash</option>     <option value="Cheque">Cheque</option>     <option value="DD">DD</option>     <option value="NEFT">NEFT</option>     <option value="RTGS">RTGS</option>     <option value="IMPS">IMPS</option>     <option va