*

Kprageeth

  • **
  • 5 posts
Veronika theme location dropdown
« on: October 19, 2020, 12:55:47 PM »
hello!

I am using the Veronika theme version 1.4.0. I want to change the location dropdown on the item post page. for exampled user type his region in the region field show city area field user-selected region cities. I am trying to any example in these forums but I can't find the best solution anyone can help me plz.

*

MB Themes

Re: Veronika theme location dropdown
« Reply #1 on: October 19, 2020, 07:19:44 PM »
@Kprageeth
In documentation you may find functions for cascading dropdowns.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Kprageeth

  • **
  • 5 posts
Re: Veronika theme location dropdown
« Reply #2 on: October 20, 2020, 08:12:24 AM »
@Kprageeth
In documentation you may find functions for cascading dropdowns.

Thank you for your reply.

I didn't find cascading dropdowns example in osclass documentation but I find this example
https://docs.osclasspoint.com/changing-between-drop-down-and-autocomplete-for-locations I trying to change dropdown input but it is not fully fil in my requirement.

this is my sample code
Code: [Select]
<div class="row">
            <label for="address"><?php _e('Region''veronika'); ?></label>
            <div class="input-box"><?php ItemForm::region_select(osc_get_regions(osc_user_country()), osc_user()) ; ?><i class="fa fa-map-pin"></i></div>
          </div>
          <div class="row">
            <label for="address"><?php _e('City Area''veronika'); ?></label>
            <div class="input-box"><?php ItemForm::city_select(osc_get_cities(osc_user_region_id()), osc_user()) ; ?><i class="fa fa-map-pin"></i></div>
          </div>

*

MB Themes

Re: Veronika theme location dropdown
« Reply #3 on: October 20, 2020, 03:29:36 PM »
@Kprageeth
I cannot say you more than is written on that page.
Make sure to attach correct javascript as well (function in header)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots