Hi,
Has anyone figured this out?
Hi,
Has anyone figured this out?
sorry, figured what out ?
How to get your IP address from the browser into a field?
there isn't a function specifically in perfectforms, but there is now the ability for you to call javascript in a form. That will be able to do this for you
see here
http://www.perfectforms.com/Documentation/manual/html/fg_calling_javascript_from_a_form.htm
If we're using a hosted solution is this available? As in can I use the utils.js file?
Doesn't matter if it is 'hosted' as long as you have access to your own webserver. You do NOT use the util.js. You embed your form to your own website page and on that page add in your java script
Id the form code from the Call JavaScript Example available?
click the 'html example' button on the example form in the user guide and you will see the code used
Sorry, I mean the form design.
sorry its not, but all there is to it is under the butttons is the Call Javascript action realating to the name of the javascript function defined in the code that would be embedded on your webpage.
see here for the other parameters available http://www.perfectforms.com/Documentation/manual/html/fg_call_javascript_properties.htm
Yeah,I've read this. I would like to have seen the form design so I can see the behavior and associated fields in use.
I only ask as you show a mechanic how to strip an engine down, you don't just give him a haynes manual and go there you are you're a mechanic!
Sorry, but the form is not available to download at the current time.
what is it though that you are struggling with? based on your initial 'how to return IP address, look at the second 'example' where the javascript function is:
function myFunction()
//This function will return the string "Hello World!" back to the form
{
return ("Hello world!");
and then in your CallJavascript you enter in the name of the function (myFunction) and set the return target to the field you want "Hello world!" returned to
is it possible to use VBscript instead of javascript?
No. Call Javascript will just support javascript
The example form is now available to download from here.
http://www.perfectforms.com/Documentation/manual/html/?fg_calling_javascript_from_a_form.htm