User Tools

Site Tools


stateregion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
stateregion [2022/04/29 16:00] – [Series of Questions] adminstateregion [2023/10/05 08:38] (current) – [stateRegion - Automatically group states or other geographic areas into regions] admin
Line 5: Line 5:
   * Flexible assignment of states and regions to support any country   * Flexible assignment of states and regions to support any country
   * Produces highly usable response data   * Produces highly usable response data
-  * Searchable drop-downs+  * Searchable state drop-down
   * Supports using either a single Side-by-Side question or a series of Multiple Choice questions   * Supports using either a single Side-by-Side question or a series of Multiple Choice questions
   * Optionally records state abbreviation   * Optionally records state abbreviation
   * Optional state selection based on IP location   * Optional state selection based on IP location
  
-This function is available for a reasonable fee. Contact [[https://community.qualtrics.com/XMcommunity/messages/add/TomG|TomG]] on the Qualtrics Community to learn more.+This function is available for a reasonable fee. Contact **[[https://community.qualtrics.com/inbox/conversation?with=373|TomG]]** on the Qualtrics Community to learn more.
  
 ===== Set-up Instructions ===== ===== Set-up Instructions =====
Line 62: Line 62:
 The width of the state input field. The width of the state input field.
  
-Default: "auto"+Default: %%"auto"%%
  
 == debug == == debug ==
Line 75: Line 75:
  
 == ipLoc == == ipLoc ==
-Boolean to automatically select the state based on IP location.+Boolean to automatically select the lookup field (i.e., statebased on IP location.
  
 Default: false Default: false
 +== ipLocName ==
 +The name of the ip location field for the lookup field (i.e., state) when ipLoc is true. Valid values are %%"region" (state, province, etc.), "region_code", "city", "country_name", 
 +and "country_code"%%. 
  
-== padTopClass == +Default: %%"region"%%
-The class of the <div> (see [[madlibs#padTopHide|padTopHide]]) used to push the stateRegion question(s) off the bottom of the screen while it loads. +
- +
-Default: "padTopHide" +
 == placeholder == == placeholder ==
 Placeholder text to show before state is selected. Placeholder text to show before state is selected.
  
-Default: "select or type state"+Default: %%"select or type state"%%
  
 ==== Question Text HTML ==== ==== Question Text HTML ====
 The side-by-side question or the first drop-down question with the delimited state/region choices must have the following html as the question text. Click on the Question Text and click the HTML View tab. **__ONLY__** edit the stateRegion question in HTML View. Qualtrics will make unexpected changes to question HTML when edited in other modes. The side-by-side question or the first drop-down question with the delimited state/region choices must have the following html as the question text. Click on the Question Text and click the HTML View tab. **__ONLY__** edit the stateRegion question in HTML View. Qualtrics will make unexpected changes to question HTML when edited in other modes.
 <code> <code>
-<div class="padTopHide" style="${e://Field/padTopHide}"></div> 
 In which state do you currently live? In which state do you currently live?
 <div style="padding-top:1em"><input class="state" type="text"></div> <div style="padding-top:1em"><input class="state" type="text"></div>
 +<style>.Skin {opacity:0;}</style>
 </code> </code>
- +====== Qualtrics Wiki ====== 
-The embedded data field padTopHide should be set at the top of the survey flow: +[[start|Qualtrics Wiki]]
-<code> +
-padTopHide padding-top:2500px; +
-</code>+
stateregion.1651262414.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki