Jump to content

Adding a form field in javascript


Recommended Posts

I have added a getresponse form on the replicated website.


When an affiliate registers they will need to put their own get response form ID into a custom program field.


The problem that I have is that the form code from get response is a javascript

So how do I add the custom form field into the javascript.


EXAMPLE


1. This is the getresponse js that I need to use, the red number is the form id.





2. This is what I normally use to call a form field, which works perfectly.




3. However of course it does not work when added into the javascript as below.


">http://www.fisteam.com/team/js/user/<?=$args[1]?>/program_custom_field_1">[/color]&u=daTY">


4. I tried allowing the affiliate to add the whole javascript into the form field and then just calling the field, but that did not work .



Can anyone please tell me what I need to use please.


Thanks :)

Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...