Forum Discussion
- QuickBaseCoachDQrew CaptainThere is a new feature called data validation that can be enabled at the table level. I can't seem to get the help system to search in the last couple of days, but you make a formula to calculate an error message. If the formula is blank result then the record will save, else it will block the save with an error.
Note that if you enable this you would need to deal with the old records, or maybe have the formula only abort the save where [date created] is after June 27, 2019.
Or else make users fix the state even though they may not have been the ones to enter it wrong.
Post back if you need a list of states.- CarolMcconnellQrew CaptainThanks, My company is still on our own version and not the cloud but we will be moving in September, so I can try it then.
- JordanMcAlisterQrew CaptainDo they input the address all in one field, or are they split up to multiple sections (for example: street address 1, 2, City, State, Postal Code)
- CarolMcconnellQrew CaptainIt is the address field types that Quickbase has, so they are split up.
- JordanMcAlisterQrew CaptainSo, are they just entering everything, including State, in only one of the boxes then and not splitting it up? Sorry - trying to understand how they are inputting incorrect State names. The default "state" field within the split up address field should be a drop down.
- QuickBaseCoachDQrew CaptainIf you look at the field properties for that address field it will give you the subfield names that you should be able to use in formulas
It will tell you what the field name is for the state field- CarolMcconnellQrew Captaini was thinking of that and I was going to make a formula checkbox field. My thought is how would I reference a field in another table that is not connected. So if [Office Address State] is one of [State Table: State], yes, no.
Is that possible?
- QuickBaseCoachDQrew CaptainIt has to be a hard coded formula, and not dependent on a lookup field
- CarolMcconnellQrew Captainok, so I would have to list out every State name in the formula?
- QuickBaseCoachDQrew CaptainYes, exactly
This is not the formula you ned, but it has all the states.
Case([<reference field name>],
"Alabama", "AL",
"Alaska", "AK",
"Arizona", "AZ",
"Arkansas", "AR",
"California", "CA",
"Colorado", "CO",
"Connecticut", "CT",
"Delaware", "DE",
"Florida", "FL",
"Georgia", "GA",
"Hawaii", "HI",
"Idaho", "ID",
"Illinois", "IL",
"Indiana", "IN",
"Iowa", "IA",
"Kansas", "KS",
"Kentucky", "KY",
"Louisiana", "LA",
"Maine", "ME",
"Maryland", "MD",
"Massachusetts", "MA",
"Michigan", "MI",
"Minnesota", "MN",
"Mississippi", "MS",
"Missouri", "MO",
"Montana", "MT",
"Nebraska", "NE",
"Nevada", "NV",
"New Hampshire", "NH",
"New Jersey", "NJ",
"New Mexico", "NM",
"New York", "NY",
"North Carolina", "NC",
"North Dakota", "ND",
"Ohio", "OH",
"Oklahoma", "OK",
"Oregon", "OR",
"Pennsylvania", "PA",
"Rhode Island", "RI",
"South Carolina", "SC",
"South Dakota", "SD",
"Tennessee", "TN",
"Texas", "TX",
"Utah", "UT",
"Vermont", "VT",
"Virginia", "VA",
"Washington", "WA",
"West Virginia", "WV",
"Wisconsin", "WI",
"Wyoming", "WY" - CarolMcconnellQrew CaptainThanks I have the state list. Thanks for your help.