Results 1 to 9 of 9

Thread: Auto Fill Form Field with URL Address

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2014
    Posts
    74

    Question Auto Fill Form Field with URL Address

    I've been trying to figure this out for about an hour, but I can't seem to get it; thus i run to the professionals.

    I would like to fill out the "New To Kyani" side of the form, under the sponsor ID and put the numbers "1234567".

    I would like this done through the URL so that my new customers would not have to worry about filling that in and accidentally transposing numbers.

    The web address is as follows: https://shop.kyani.net/en-us/#/welcome

    What I have found is that I need to identify the form field name, but my limited knowledge is preventing me from finding it; I know one of you can do this in about 10 seconds. Thank you for your knowledge and help ahead of time.

    Thanks,
    IGPOD

  2. #2
    Addicted Member Pc Monk's Avatar
    Join Date
    Feb 2010
    Posts
    188

    Re: Auto Fill Form Field with URL Address

    Hi,
    i dont think i understand your problem clearly , but if u trying to give a default value to ur sponsor field , look for this id "ember926" , or the placeholder "Sponser ID" , then at the end add this : value="1234567"
    so the input box will look like this
    HTML Code:
    <input id="ember926" class="ember-view ember-text-field form-control" type="text" placeholder="Sponsor ID" value="1234567">
    goodluck
    Body Language tells the truth! even from the grave tsaeb eht morf gninnur ,nwod deaH
    All the big things started from little! teef my tsap evom sekans ,duol raor slluB
    Lietome.ir

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2014
    Posts
    74

    Re: Auto Fill Form Field with URL Address

    I'm trying to auto fill the Sponsor ID with 1234567 through the URL; when a visitor clicks on a link from my capture page they have to manually input my ID.

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Auto Fill Form Field with URL Address

    Do you have control over the URL? Do you have control over the other page?
    The short of it is that it can only work if you either have control over the target page, and/or the page was built to look for the value in the url in the first place.
    Secondly even if the above is supported, unless you can change the URL itself, then it doesn't matter...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Feb 2014
    Posts
    74

    Re: Auto Fill Form Field with URL Address

    Ok... I was unaware of that...

    This URL is not working for some reason: https://shop.kyani.net/en-us/#/welcome?ember765=1234567 but I guess I know why now.Name:  Untitled.jpg
Views: 180
Size:  40.4 KB

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Feb 2014
    Posts
    74

    Re: Auto Fill Form Field with URL Address

    The field doesn't appear to be static. It is now "ember801" vs "ember765" and PC Monk's "ember926"

  7. #7
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Auto Fill Form Field with URL Address

    My guess is that they have the field name rolling to prevent this very thing.
    Which I find a bit odd since I checked their TOS, and there isn't anything explicitly prohibiting it.


    meh... I looked into it a little bit... looks like the changing name is part of the Ember Open Auth module for ember applications (which that site is) ... it ties the login submission to a session... I tried to look for a combination that would work, even dove into the Ember and Ember Open Auth docs.... there's nothing there...

    so.... my guess is that you're outta luck in this case.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  8. #8
    Addicted Member Pc Monk's Avatar
    Join Date
    Feb 2010
    Posts
    188

    Re: Auto Fill Form Field with URL Address

    dont u have access to the source code ?funny yesterday was 926 but now the id is 765 , i refreshed the page but still the same

    * you cant just put the number in the url and expect the program to understand what to do with it, you MuST have access to the source code to write a bit of code. ( thats if you want to do it with url)
    * if you do have access to the source code , dont worry about the id , just find the inputbox and add the value , (thats if the number is static and u dont wanna do it over the url)
    if u dont have access to the source code like tg said your outta luck ,
    Body Language tells the truth! even from the grave tsaeb eht morf gninnur ,nwod deaH
    All the big things started from little! teef my tsap evom sekans ,duol raor slluB
    Lietome.ir

  9. #9
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Auto Fill Form Field with URL Address

    well, it sounds like he's in control of the URL part ... the rest, not so much. It will only work over the URL if the page was programmed to look for it. It doesn't look like this is the case. Also, given that this is in a web browser (chrome by the look of the screenshot) ... there isn't a way to "find the inputbox and add the value"... so, he's pretty much outta luck.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width