Hi,I have created two lbv forms and from C:\xampp\htdocs\openemr\interface\forms\LBF\new.php I created my own buttons for one of the forms, but these buttons present and in the other form.How can I fix that and present only to one of my form these buttons?
thank you.
The file ‘\interface\forms\LBF\new.php’ is common for all the LBV forms we create. In your case you have customized the ‘new.php’ file to add a button and you need to display it only for a specific form, then you can show the button based on the value received for ‘formname’ url parameter in ‘new.php’ file. In other words, if the ‘formname’ value received is same as that of the specific LBV form, then display the button else avoid displaying the button for all the other LBV forms.