Sending Data to a Form inside a Lightbox

Thank you all. I have a similar problem. I’d like to tie the LightBox SUBMIT button to the CUSTOMER flag, so only customers can submit comments. Can anyone point me to some examples that might help?