Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6647187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:30:28+00:00 2026-05-26T00:30:28+00:00

I have a very bespoke system that we will use internally to track payments.

  • 0

I have a very bespoke system that we will use internally to track payments.

I have an input box, and if the user leaves it blank (Does not know X), it inserts “Awaiting X” into a database instead of the X.

The idea i have to stop the user fill in either variations of NONE or N/A or some random string of text all the time is that they click a tick box “Not known yet?” and it addes 0.4 opacity to it with jQuery or something – therefore leaving it blank.

Is this bad practice or clever mini-validation?

I welcome any clever ideas for this..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:30:28+00:00Added an answer on May 26, 2026 at 12:30 am

    On the database side
    It is good practice to use null (not the string 'null', but the database concept null). Into a database to signal the fact that there is no data.
    So I would advice not to use 'awaiting this or that', but just use null.

    In a database you can select these rows like so:

    SELECT * FROM table1 WHERE name IS NULL
    

    On the UI side

    I like your idea.
    Do do hope that if and when I select the editbox, I can just fill something in without having to untick the checkbox by hand.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have very recently started development on a multiplayer browser game that will use
We have a couple of sites that use a bespoke CMS (e.g. www.trident-ha.org.uk). In
i have very simple problem. I need to create model, that represent element of
I have very long integer sequences that look like this (arbitrary length!): 0000000001110002220033333 Now
I have very general problem on DNN 6.0 web site that I am working
I have very simple form, with input like this: <input id=my_id multiple=true type=file name=image_name[]
I have very strange requirement. I have to generate notification (email) when user installs
I have very large string lists and arrays and i found 2 issues that
I have very simple query. I want to make sure that I don't have
I have very simple: [PrincipalPermission(SecurityAction.Demand, Role = Administrator)] public partial class _Default : System.Web.UI.Page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.