# Formatting the "state" field for order forms

**URL:** <https://integration.keap.com/t/formatting-the-state-field-for-order-forms/41319>\
**Category:** Max Classic\
**Created:** [May 23, 2018, 7:43pm UTC](https://integration.keap.com/t/formatting-the-state-field-for-order-forms/41319 "2018-05-23T19:43:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Miller](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@Jay\_Miller](https://integration.keap.com/u/Jay_Miller)\
**Post date:** [May 23, 2018, 7:43pm UTC](https://integration.keap.com/t/formatting-the-state-field-for-order-forms/41319/1 "2018-05-23T19:43:52Z")

</div>

The processor for my Infusionsoft shopping cart purchases, Beanstream, requires the “state/province” field to be filled out ONLY with a 2-capital abbreviation, such as CA for California. ANY other format results in a failed transaction. This happens on a regular basis since many people use the autofill function to complete the shopping cart form. I’m certain I lose sales due to this hassle. Is there any way to insert code into my shopping cart that will force a 2-capital entry? This has been going on for years and I’ve got to do something about it. Thanks for any help you can offer.

---

<div class="post-metadata">

**Author:** ![Rae\_Carson](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@Rae\_Carson](https://integration.keap.com/u/Rae_Carson)\
**Post date:** [February 26, 2019, 11:24pm UTC](https://integration.keap.com/t/formatting-the-state-field-for-order-forms/41319/2 "2019-02-26T23:24:29Z")

</div>

Just found out that Infusionsoft broadcasts don’t seem to know that the state name is the same as the state abbreviations. I wanted to send a mailer to everyone in New Jersey, but only those whose billing state was “NJ” got it. Those whose was “New Jersey” were left out. 😓
