Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 78

Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
04/15/12 06:11 PM (13 years ago)

changing quiz questions in iOS 2.0

Trying to make changes to the quiz questions and I get this error when trying to save. Changes not saved! Row title required. Has anyone seen this? It is the same with all the questions I am using the 1.5 version as a plugin in 2.0
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/15/12 09:51 PM (13 years ago)
Make sure that all the required fields on that page are filled in. I've noticed that in the Advanced Properties, if I try to make a change in one area, but something is amiss in another, then it won't let me make the change. It all has to be good across the board for the save to work. Mark
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
04/16/12 06:36 AM (13 years ago)
Hi Crown Solutions, I had the quiz plugin tested by lot of forum users but no-one reported this bug. Look at www.yourdomain.com/you_bt-server_install/files/plugins/bt_screen_quiz/item_properties_AJAX.php line 67-77 Make it look like this: //validate... $questionText = fnGetReqVal("questionText", "", $myRequestVars); $correctAnswerText = fnGetReqVal("correctAnswerText", "", $myRequestVars); $incorrectText1 = fnGetReqVal("incorrectText1", "", $myRequestVars); $incorrectText2 = fnGetReqVal("incorrectText2", "", $myRequestVars); $incorrectText3 = fnGetReqVal("incorrectText3", "", $myRequestVars); if($questionText == ""){ $bolPassed = false; $strMessage .= "<br>Row title required."; } Replace the word addQuestionText by questionText . Should work now. Best Regards, Danny
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
04/16/12 08:37 AM (13 years ago)
That did it. Thanks!!!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.