Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Warning of Mandatory Question.

Warning of Mandatory Question. 11 Monate 4 Tage her #99144

  • mimi
  • mimis Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 32
  • Karma: 0
Hi..

based on the attachment below,
i have combining two question becoming one question, The problem here is, if the user missed to answer on 2nd answer, the mandatory warning were not appear. well I was thinking it is bacause of the script i have put inside. The script is used to combined two question become one question.

This is the 1st script:

<script type="text/javascript">

$(document).ready(function () {

$("#td_for_e_25_a_1").attr("width","30%"); //make column 1 width 30%
$("#td_for_e_25_a_1_input ul").attr("style", "list-style:none outside none"); //make checkbox into horizontal line
$("#td_for_e_25_a_1_input li").attr("style", "float:left; margin-left:10px"); //"

$("#td_after_e_25_a_1").html($("#td_for_e_25_a_1_input").html()); //copy from next question
$("#question98").remove();
});

</script>



This is the 2nd script:

<script type="text/javascript" charset="utf-8">
$("#iframe1").ready(function () {

$("#answer21639X2X986").remove();
$("#answer21639X2X1016").remove();
$("#answer21639X2X1046").remove();
$("#answer21639X2X1066").remove();
$("#answer21639X2X1076").remove();
$('#answer21639X2X986, label[for="answer21639X2X986"]').hide ();
$('#answer21639X2X1016, label[for="answer21639X2X1016"]').hide ();
$('#answer21639X2X1046, label[for="answer21639X2X1046"]').hide ();
$('#answer21639X2X1066, label[for="answer21639X2X1066"]').hide ();
$('#answer21639X2X1076, label[for="answer21639X2X1076"]').hide ();

});

</script>

I hope i had make it clear.

Thank You so much for any help for this.
Anhang:
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Ladezeit der Seite: 0.126 Sekunden
Donation Image