Hi Greyhead
I have tried adding in Chosen to my CF4 set up but without success.
I have read the posts here: https://www.chronoengine.com/forums/posts/f5/t97437.html?page=1 and have been to your demo page it links to and this is exactly what I am after. However, as this demo site doesnt have any instructions I am finding it hard to replicate. Would you be able to give me some quick instructions to implement it?
I have uploaded the extracted contents of https://github.com/harvesthq/chosen/releases/download/v1.5.0/chosen_v1.5.0.zip to the server to the location in your post (I just changed the reference to chronoform5 to chronoform in the Custom Code OnLoad to line up with my CF4 installation). I renamed the JS file per your post. I have a standard single selection drop down box on my chrono form which works as it should. I then added the class chosen-single to the dropdown, but the drop down on the front end hasnt changed.
I can see on the front end that the CSS and JS referenced in the OnLoad Custom Code are loaded and that the drop down has the chosen-single class.
Any chance you could give me some pointers on integrating either Chosen or Select2 to CF4?
Many thanks
I have tried adding in Chosen to my CF4 set up but without success.
I have read the posts here: https://www.chronoengine.com/forums/posts/f5/t97437.html?page=1 and have been to your demo page it links to and this is exactly what I am after. However, as this demo site doesnt have any instructions I am finding it hard to replicate. Would you be able to give me some quick instructions to implement it?
I have uploaded the extracted contents of https://github.com/harvesthq/chosen/releases/download/v1.5.0/chosen_v1.5.0.zip to the server to the location in your post (I just changed the reference to chronoform5 to chronoform in the Custom Code OnLoad to line up with my CF4 installation). I renamed the JS file per your post. I have a standard single selection drop down box on my chrono form which works as it should. I then added the class chosen-single to the dropdown, but the drop down on the front end hasnt changed.
I can see on the front end that the CSS and JS referenced in the OnLoad Custom Code are loaded and that the drop down has the chosen-single class.
Any chance you could give me some pointers on integrating either Chosen or Select2 to CF4?
Many thanks