IP address from browser

Home Forum Laying out a Form IP address from browser

Tagged: 

This topic contains 15 replies, has 0 voices, and was last updated by  Anonymous 8 years, 9 months ago.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #394

    Anonymous

    Hi,

    Has anyone figured this out?

    #5007

    ijobling
    Participant

    sorry, figured what out ?

    #5008

    Anonymous

    How to get your IP address from the browser into a field?

    #5009

    ijobling
    Participant

    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

    #5010

    Anonymous

    If we’re using a hosted solution is this available? As in can I use the utils.js file?

    #5011

    ijobling
    Participant

    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

    #5131

    Anonymous

    Id the form code from the Call JavaScript Example available?

    #5132

    ijobling
    Participant

    click the ‘html example’ button on the example form in the user guide and you will see the code used

    #5133

    Anonymous

    Sorry, I mean the form design.

    #5134

    ijobling
    Participant

    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

    #5135

    Anonymous

    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.

    #5136

    Anonymous

    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!

    #5137

    ijobling
    Participant

    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

    #5142

    Anonymous

    is it possible to use VBscript instead of javascript?

    #5143

    ijobling
    Participant

    No. Call Javascript will just support javascript

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.