0
You will understand in description
Hey , guys In my coded form below , there is an option for selecting country and state , so my question is that how I can select State for I selected country in earlier option . E.g. if I select country India then only Indian state should appear in state option . And vice versa. https://code.sololearn.com/W2O91UK5eJ4q/?ref=app
6 Answers
+ 4
make objects of countries with its state names as an array.
object of key-value pairs (where key is the country name and its values are states name) :
example:
countries = {
'India' : { 'Maharashtra', 'Rajasthan', 'Assam' },
'Japan' : { 'Tohoku', 'Kanto', 'Chubu' }
}
+ 2
Thanks Ashirvad Nair , it works , only takes input doesn't submit anywhere ...
+ 1
ThanksRKK
+ 1
" NO " bro Ashirvad Nair submit button doesn't have any link go anywheređ . One important thing that files (photo & sign) are required fields and you can't fill it by sololearn finally your is incomplete so it doesn't submit .
I think you will understand đ
0
Your code seems nice... But is it a woking..? Or what can be done to make it fully functional?
0
When i am clicking on submit button then it took me to youtube