Form block doesn't work

Permalink
My form block is not working. Whenever I try to add a question to the form, pressing the "Add Question" button does absolutely nothing. Nothing gets added to the Edit or Preview tabs.

I don't know what I'm doing wrong. Please help.

Thank You.

 
wagdi replied on at Permalink Reply
wagdi
Tried clearing your cache in the dashboard?
desh123456 replied on at Permalink Reply
Tried that. It's still not working.
wagdi replied on at Permalink Reply
wagdi
What browser are you using? Maybe try the latest update of Firefox, Chrome or Safari?!
desh123456 replied on at Permalink Reply
I tried it in Chrome, Firefox and IE. I have the most recent versions of each. I cleared my browser and the dashboard cache. Nothing seems to be working.
mkly replied on at Permalink Reply
mkly
Hmmm. Are you familiar with a tool called Firebug for Firefox. If you could install that and check the console tab it might help us to see if there is a javascript error. The add question is purely javascript afaik, so it's also possible that there is a javascript error or conflict somewhere on the page.

If you create a new blank page with nothing on it and add a form block do you still have that issue?

Have you changed themes or added any new blocks recently?

These are just things that might help us narrow down a javascript conflict(if that's actually what it is).
desh123456 replied on at Permalink Reply
The same thing happens on other paper when I try to add the form. I haven't recently switch themes or added any add-on's.

But I ran firebug and it does appear to be an error. This is what it says:

$("#required" + mode + " input[value=1]").prop is not a function
anonymous() /contact/ (line 80)
anonymous() /contact/ (line 28)
handle() jquery...7207d58 (line 55)
a = Object { originalEvent=Event click, type="click", timeStamp=1332594523005, more...}

add() jquery...7207d58 (line 49)
/contact/ (line 80)


How do I fix this?
Thanks!
wdruijter replied on at Permalink Reply
I have the same problem with version 5.5.2 in all sort of browsers (IE, Firefox, Chrome). Does somebody know a solution?
desh123456 replied on at Permalink Reply
No nothing worked. I just ended up reinstlling Concrete5 and starting from scratch basically.
wdruijter replied on at Permalink Reply
Hi there,

I found the solution by changing my (custom made) theme. For some reason I includedhttp://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js.... Because Concrete5 uses also jQuery, I think it creates a conflict. After I comment this out, my form block worked like charm again.
dschmitz replied on at Permalink Reply
I have a similar situation. I get this error message:

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'AddBlockBlockTypePermissionKey::canAddBlock' was given in /home/egiweb/public_html/concrete/core/models/permissions.php on line 61
Invalid Permissions

I have multiple forms within the site. For some, the edit function works fine. Clearing the cache did not work. Any help is much appreciated!