while using dependant dropdown library, some error occuring during editing the select box data. also success message could n't happen
dependant dropdown box
- Single Page
Posted 08 June 2015 - 06:07 AM
Posted 08 June 2015 - 09:47 AM
Hi! Can you get more explanation, example code and so on? Cause i can get you the same answer - something goes wrong...
Posted 08 June 2015 - 12:17 PM
I am use ajax_grocery_crud library for dependent drop-down box. After updating the data, there is no success message has been occuring. and also the validation messages stay there. The problem only happens while editing the data.
Please help me.
Posted 08 June 2015 - 13:45 PM
Never heard about ajax_grocery_crud library. I am using /topic/1087-updated-24112012-dependent-dropdown-library/ written by Victor.
And all works perfectly for me, thanks to Victor.
In any case you need to use debugging tools to see any problems and errors. In Firefox I using - Webdeveloper tools, Firebug, Firephp.
I cant and nobody cant help you if you dont write some code or pictures with errors, at least requests using this debug tools while you click edit.
Posted 09 June 2015 - 03:44 AM
Thank you paul, Let me try the victor's library.
Posted 09 June 2015 - 04:28 AM
When i am using victor's library a problem happens while adding the data. updating process is going well.i can't add dropdown field. i hereby post my code
Posted 09 June 2015 - 09:04 AM
Hi! Correct me if i am wrong - why in your relation you using country_name instead country_id ? The same in second relation - state_name instead state_id ?
I told you - teach yourself to debugging while development proccess!
And you will see possible errors.
Posted 10 June 2015 - 05:28 AM
Actually country_name contains the value contry_id
for example,
country="india"
id="1"
then my country_name=1
Posted 10 June 2015 - 10:47 AM
Why your relate field named like country_name or state_name ??? did you know country with name "1" ? This is wrong man... and confusing all around believe me
In any case you need find error place, try to debug and show here requests from Firebug! Dont you understand that we here like blind, man?
Posted 10 June 2015 - 11:48 AM
thank you for your valid information. let me see
thanks
Posted 12 June 2015 - 11:05 AM
I am totally tired. I couldn't get the result. What can i do. Will you please give an explanation with an example?
Posted 12 June 2015 - 13:03 PM
all you can find at link that I gave you