Skip to content

Commit

Permalink
Dev: #10103 some id in double + some space between attribute
Browse files Browse the repository at this point in the history
Dev: Currently : in demo survey : col count VS th count in array dual need fix
  • Loading branch information
Shnoulle committed Nov 14, 2016
1 parent 3ee885e commit 0d7843a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
?>

<!-- item_row -->
<li id="javatbd<?php echo $name; ?>" class="form-group answer-item radio-item <?php echo $itemExtraClass; ?>">
<li id="javatbd<?php echo $name.$value; ?>" class="form-group answer-item radio-item <?php echo $itemExtraClass; ?>">
<input
type="radio"
name="<?php echo $name; ?>"
id="answer<?php echo $id; ?>"
value="<?php echo $value;?>"
<?php echo $checkedState; ?>
onclick="<?php echo $checkconditionFunction; ?>(this.value, this.name, this.type)"
/>
<label for="answer<?php echo $id; ?>" class="control-label radio-label"><?php echo $labelText; ?></label>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- answer_row -->
<tr id="javatbd<?php echo $myfname;?>" class="answers-list radio-list form-group <?php echo ($odd) ? "ls-odd" : "ls-even"; ?> <?php echo ($error) ? " has-error" : ""; ?>" <?php echo $sDisplayStyle; ?> role="radiogroup" aria-labelledby="answertext<?php echo $myfname;?>">
<th id="answertext<?php echo $myfname;?>"class="answertext control-label">
<th id="answertext<?php echo $myfname;?>" class="answertext control-label">
<?php echo $answertext;?>
<input name="java<?php echo $myfname;?>" id="java<?php echo $myfname;?>" value="<?php echo $value;?>" type="hidden">
</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<!-- answer_row -->
<tr id="javatbd<?php echo $myfname;?>" class="answers-list radio-list form-group <?php echo ($odd) ? "ls-odd" : "ls-even"; ?><?php echo ($error) ? " has-error" : ""; ?>" <?php echo $sDisplayStyle; ?> role="radiogroup" aria-labelledby="answertext<?php echo $myfname;?>">
<th id="answertext<?php echo $myfname;?>"class="answertext control-label">
<th id="answertext<?php echo $myfname;?>" class="answertext control-label">
<?php echo $answertext;?>
<input name="java<?php echo $myfname;?>" id="java<?php echo $myfname;?>" value="<?php echo $value;?>" type="hidden">
</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
?>

<!-- option -->
<option value='<?php echo $value?>' id='answer<?php echo $name.$value ?>' <?php echo $opt_select;?> <?php if(isset($classes)):?> class="<?php echo $classes;?>" <?php endif;?> >
<option value='<?php echo $value?>' <?php echo $opt_select;?> <?php if(isset($classes)):?> class="<?php echo $classes;?>" <?php endif;?> >
<?php echo $answer;?>
</option>
<!-- end of option -->
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
?>
<!-- answer_row -->
<li id='javatbd<?php echo $name; ?>' class="form-group <?php echo $li_classes; ?>">
<li id='javatbd<?php echo $name.$value; ?>' class="form-group <?php echo $li_classes; ?>">
<input
type="radio"
name="<?php echo $name; ?>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class="<?php echo $classes; echo $kpclass; ?>"
name='<?php echo $javaname?>'
id='<?php echo $javaname?>'
value='<?php echo $javavalue;?>'
<?php echo $checked;?>
/>
<?php endif;?>
</div>
Expand All @@ -61,7 +60,7 @@ class='form-control <?php echo $kpclass; ?>'
id='<?php echo $inputCommentId;?>'
name='<?php echo $inputCommentName; ?>'
value='<?php echo $inputCOmmentValue; ?>'
aria-labelled='label-<?php echo $id;?>'
aria-labelledby='label-<?php echo $id;?>'
/>
</div>
</div>
Expand Down

0 comments on commit 0d7843a

Please sign in to comment.