Copy link to clipboard
Copied
Hi
I'm trying to generate a slide that allows a user to type their name, telephone number and email into text entry boxes (assigned with user variables of name, telephone and email). That data then needs to sent from Captivate to a php script on the server which will generate an email and send it on to me. Essentially it is a PHP contact form script but instead of the original data being collected in an HTML form it has to be collected via 'variable assigned' text entry boxes on a captivate slide.
My assumption is that I need to associate 'execute javascript' to the final TEB and call a javascript function that sitting in the head section of the HTML page - which will pass the values of the variables onto the PHP script on the server. However, as my javascript is poor I have tried and failed to write this javascript.
Can anyone tell me if what I am trying to do is possible? Or point me in the right direction with the javascript coding?
Many thanks
Have something to add?