Autor Tópico: Custom buttons missing on Forms  (Lida 1530 vezes)

scottmartin

  • Novato
  • *
  • Mensagens: 10
Custom buttons missing on Forms
« Online: Janeiro 16, 2010, 01:52:21 pm »
Has anyone upgrade to SC5.004? Any forms that have custom buttons (grids are fine) are not displayed after compiled. I have tried changing to a SC5 template and a few others, but the buttons are missing. I noticed they changed how the buttons are created:

002; displays

Código: [Selecionar]

<input type="button" id="sc_button_respond_request_top" onClick="sc_btn_button_respond_request(); return false" class="scButton_default" value="Respond"" . $sCondStyle . ">


004; does not display

Código: [Selecionar]

<input type="button" id="sc_button_respond_request_top" onClick="sc_btn_button_respond_request(); return false" class="scButton_default" value="Respond" style="<?php echo $sCondStyle?>">

<?php
$NM_btn 
true;
?>



Can anyone confirm this?

Regards,
Scott.

scottmartin

  • Novato
  • *
  • Mensagens: 10
Re: Custom buttons missing on Forms
« Responder #1 Online: Janeiro 16, 2010, 02:35:27 pm »
Removing 'style=' displays correctly in 004

$sCondStyle resolves as: 'display: none';

Código: [Selecionar]

<input type="button" id="sc_button_respond_request_top" onClick="sc_btn_button_respond_request(); return false" class="scButton_default" value="Respond"."<?php echo $sCondStyle?>">


Regards,
Scott.