Answers.Body: <p>You could use the Set Value action? So say for example the first action would set the value state to Victoria and have the condition input postcode = 3 etc.?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-14T06:25:42.283Z
Answers.Text: Sounds good ErikH but I'm not sure I have the form processor chops.
Answers.UserDisplayName: LesleyJill
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-14T06:36:41.713Z
Answers.Text: I have added a Set Value called State. My condition is compare parameter value. Configuration is value = 3000 and comparison is greater than or =. My parameter is Input::postcode. But what do I put in "Map output data if condition is not valid"? I'll put screendump as answer
Answers.UserDisplayName: LesleyJill
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-15T05:37:42.543Z
Answers.Text: Just leave that empty, it gives you the possibility to enter a value of the condition is not met which in some cases is useful. But you do not have to :-)
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-11T07:05:38.603Z
Answers.LastActivityDate: 2023-05-11T07:05:38.603Z
Answers.UserDisplayName: ErikH - CiviCooP
Answers.Body: <p>not an answer - refer to comment
  <a href="https://i.sstatic.net/HyxDP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HyxDP.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-14T06:37:05.690Z
Answers.LastActivityDate: 2023-05-14T06:37:05.690Z
Answers.UserDisplayName: LesleyJill
Body: <p>Rock and a hard place:
  Using gravity forms to collect address with autocomplete results in corrupted state/province names as users override the auto complete &amp; can't spell.
  Or using gravity forms without address autocomplete - with dropdowns for country &amp; state upsets our fundraising team as they love autocomplete.</p>
  <p>So, just wondering if form processor can do something like:</p>
  <pre><code>If postcode = 3*** state = Victoria
              = 4*** state = Queensland
  </code></pre>
  <p>Only 8 states to choose from</p>
  <p>Thanks all</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-11T19:26:19.537Z
Comments.Text: off topic (slightly) addressfinder.nz covers AU so the whole address is an autocomplete (at a small monthly price)
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-12T05:27:55.970Z
Comments.Text: Cheers Pete - $55 per month too steep for us!
Comments.UserDisplayName: LesleyJill
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-12T20:24:49.163Z
Comments.Text: Pricing depends on usage. IIRC it can be much lower than that (NZ$19). But not pushing it, just flagging it as an option
Comments.UserDisplayName: petednz - fuzion
Tags: <form-processor><action-provider>
Title: Can form processor use postcode to derive state?
ThreadText: # Can form processor use postcode to derive state?
  
  (Asked by: username_0 on 2023-05-11)
  
  Rock and a hard place:
  Using gravity forms to collect address with autocomplete results in corrupted state/province names as users override the auto complete & can't spell.
  Or using gravity forms without address autocomplete - with dropdowns for country & state upsets our fundraising team as they love autocomplete.
  So, just wondering if form processor can do something like:
  If postcode = 3*** state = Victoria
              = 4*** state = Queensland
  
  Only 8 states to choose from
  Thanks all
  
  **Tags:** form-processor, action-provider
  
  > **Comments:**
  > **username_1**: off topic (slightly) addressfinder.nz covers AU so the whole address is an autocomplete (at a small monthly price)  
  > **username_0**: Cheers Pete - $55 per month too steep for us!  
  > **username_1**: Pricing depends on usage. IIRC it can be much lower than that (NZ$19). But not pushing it, just flagging it as an option  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2023-05-11. Score: 1
  
  You could use the Set Value action? So say for example the first action would set the value state to Victoria and have the condition input postcode = 3 etc.?
  
  > **Comments:**
  > **username_0**: Sounds good ErikH but I'm not sure I have the form processor chops.  
  > **username_0**: I have added a Set Value called State. My condition is compare parameter value. Configuration is value = 3000 and comparison is greater than or =. My parameter is Input::postcode. But what do I put in "Map output data if condition is not valid"? I'll put screendump as answer  
  > **username_2**: Just leave that empty, it gives you the possibility to enter a value of the condition is not met which in some cases is useful. But you do not have to :-)  
  
  ---
  
  ### Answer by username_0 on 2023-05-14. Score: 0
  
  not an answer - refer to comment
  [![enter image description here](https://i.sstatic.net/HyxDP.png)](https://i.sstatic.net/HyxDP.png)
  
  
  ---
  
  