Hi Christian , ok I forgot views option. Just focus cred part.
I've added generic fields.
<div class="form-group">
<label>State</label>
[cred_generic_field field='States' type='select' class='' urlparam='']
{
"required":1,
"validate_format":0,
"default":[],
"options":[
{"value":"Alabama","label":"Alabama"},
{"value":"Indiana","label":"Indiana"},
{"value":"Louisiana","label":"Louisiana"},
{"value":"Nebraska","label":"Nebraska"},
{"value":"Texas","label":"Texas"},
{"value":"Utah","label":"Utah"}
]
}
[/cred_generic_field]
</div>
[cred_show_group if="($(States) eq 'Alabama' )" mode='fade-slide']
<div class="form-group">
<label>City</label>
[cred_generic_field field='AlabamaCities' type='checkboxes' class='' urlparam='']
{
"required":0,
"validate_format":1,
"default":[],
"options":[
{"value":"Abbeville","label":"Abbeville"},
{"value":"Adamsville","label":"Adamsville"},
{"value":"Auburn","label":"Auburn"},
{"value":"Bayou La Batre","label":"Bayou La Batre"},
{"value":"Bessemer","label":"Bessemer"},
{"value":"Brent","label":"Brent"},
{"value":"Chickasaw","label":"Chickasaw"},
{"value":"Cordova","label":"Cordova"},
{"value":"Demopolis","label":"Demopolis"}
]
}
[/cred_generic_field]
</div>
[/cred_show_group]
[cred_show_group if="($(States) eq 'Indiana' )" mode='fade-slide']
<div class="form-group">
<label>City</label>
[cred_generic_field field='IndianaCities' type='checkboxes' class='' urlparam='']
{
"required":0,
"validate_format":1,
"default":[],
"options":[
{"value":"Carmel","label":"Carmel"},
{"value":"Connersville","label":"Connersville"},
{"value":"Elkhart","label":"Elkhart"},
{"value":"Fort Wayne","label":"Fort Wayne"},
{"value":"Franklin","label":"Franklin"},
{"value":"Michigan City","label":"Michigan City"}
]
}
[/cred_generic_field]
</div>
[/cred_show_group]
[cred_show_group if="($(States) eq 'Louisiana' )" mode='fade-slide']
<div class="form-group">
<label>City</label>
[cred_generic_field field='LouisianaCities' type='checkboxes' class='' urlparam='']
{
"required":0,
"validate_format":1,
"default":[],
"options":[
{"value":"Baker","label":"Baker"},
{"value":"Bogalusa","label":"Bogalusa"},
{"value":"Bossier City","label":"Bossier City"},
{"value":"Carencro","label":"Carencro"},
{"value":"DeQuincy","label":"DeQuincy"},
{"value":"Eunice","label":"Eunice"},
{"value":"Harahan","label":"Harahan"}
]
}
[/cred_generic_field]
</div>
[/cred_show_group]
[cred_show_group if="($(States) eq 'Nebraska' )" mode='fade-slide']
<div class="form-group">
<label>City</label>
[cred_generic_field field='NebraskaCities' type='checkboxes' class='' urlparam='']
{
"required":0,
"validate_format":1,
"default":[],
"options":[
{"value":"Cheyenne","label":"Cheyenne"},
{"value":"Geneva","label":"Geneva"},
{"value":"Merrick","label":"Merrick"},
{"value":"Nebraska City","label":"Nebraska City"},
{"value":"Sidney","label":"Sidney"}
]
}
[/cred_generic_field]
</div>
[/cred_show_group]
[cred_show_group if="($(States) eq 'Texas' )" mode='fade-slide']
<div class="form-group">
<label>City</label>
[cred_generic_field field='TexasCities' type='checkboxes' class='' urlparam='']
{
"required":0,
"validate_format":1,
"default":[],
"options":[
{"value":"Argyle","label":"Argyle"},
{"value":"Beach City","label":"Beach City"},
{"value":"Benavides","label":"Benavides"},
{"value":"Brazoria","label":"Brazoria"},
{"value":"Brazos Country","label":"Brazos Country"},
{"value":"Burkburnett","label":"Burkburnett"},
{"value":"Collin","label":"Collin"},
{"value":"Dallas","label":"Dallas"},
{"value":"Denton","label":"Denton"}
]
}
[/cred_generic_field]
</div>
[/cred_show_group]
[cred_show_group if="($(States) eq 'Utah' )" mode='fade-slide']
<div class="form-group">
<label>City</label>
[cred_generic_field field='UtahCities' type='checkboxes' class='' urlparam='']
{
"required":0,
"validate_format":1,
"default":[],
"options":[
{"value":"Bicknell","label":"Bicknell"},
{"value":"Cedar City","label":"Cedar City"},
{"value":"Charleston","label":"Charleston"},
{"value":"Clinton","label":"Clinton"},
{"value":"Draper","label":"Draper"},
{"value":"Ephraim","label":"Ephraim"},
{"value":"Garden City","label":"Garden City"},
{"value":"Garfield","label":"Garfield"},
{"value":"Henrieville","label":"Henrieville"},
{"value":"Salt Lake","label":"Salt Lake"}
]
}
[/cred_generic_field]
</div>
[/cred_show_group]
And nothing.
Ok cred form is working without saving Generic fields to location taxonomy How can I save data to gadget post type