SafeCracker is disabling my jQuery
Posted: 25 April 2011 03:14 AM   [ Ignore ]
Wallflower
Rank
Total Posts:  2
Joined  2011-04-24

If I have a SafeCracker tag in my template, like for a contact form, it seems to disable all my jQuery on that page.  I have modal windows, sliding panels, etc., and none of them work when I have SC code in the template.  SafeCracker’s own jQuery doesn’t seem to work either: the datepicker isn’t displaying.

Any help is appreciated.

- Mike

Profile
 
 
Posted: 26 April 2011 05:46 AM   [ Ignore ]   [ # 1 ]
Wallflower
Rank
Total Posts:  2
Joined  2011-04-24

I managed to get the jQuery for my non-SafeCracker elements working.  I just had to move my .js file containing the scripts up above the SafeCracker code.  I still can’t get the datepicker to work though.

if I have the following in my template, and “my_custom_field” is a Date fieldtype, should I see the datepicker when I click in that field?:

{exp:safecracker channel="contact_form" return="contact/thanks" 
<input name="title" type="text" /> 
<
input name="my_custom_field" type="text" /> 
<
input type="submit" value="Submit" /> 
{/exp:safecracker} 
Profile
 
 
Posted: 26 April 2011 06:13 AM   [ Ignore ]   [ # 2 ]
Absolute Heartthrob!
Avatar
RankRankRankRankRank
Total Posts:  10369
Joined  2008-09-29

Sorry Mike, we don’t check this forum very often anymore.

SafeCracker has been acquired by EllisLabs, makers of ExpressionEngine. Support is now offered on the EE forums, by EE staff.

Safecracker support can be found here.

 Signature 
Profile