473,499 Members | 1,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

calling and submitting a form on an external js page.

tolkienarda
316 Contributor
hi all

i am not realy a .js person. but i have run into a problem that i think i will need it for. i need to have people hit a button and have that submit a series of hidden form fields. the only problem is that the hidden form elements can't be on the same page. so what i need to do is have an encrypted .js file on my site that contains the form. so the major question i have is can you write an entire form in an encrypted .js file. the reason i am doing this is because having the form elements in plain html means people can edit it with the firefox webdeveloper toolbar and change their inputs.

i know i am terrible at being clear so if you have any problems understanding what i am asking post and i will try to clarify.

thanks
eric
Feb 5 '07 #1
2 1107
acoder
16,027 Recognized Expert Moderator MVP
If your hidden form fields are that important, Javascript (even encrypted) will not do. Someone determined enough will be able to discover your encryption algorithm.

I suggest you use a HTTP post request using a server side language and pass your hidden form values to the page.
Feb 5 '07 #2
tolkienarda
316 Contributor
If your hidden form fields are that important, Javascript (even encrypted) will not do. Someone determined enough will be able to discover your encryption algorithm.

I suggest you use a HTTP post request using a server side language and pass your hidden form values to the page.
i will try to do that the only problem i am communicating with a page that is not my own. what this thing does is communicate with paypal, and people can change the cost of their items very tricky. i will try that when i get to work tomarow but i was thinking that encrypted javascript will be a little more secure. i have cracked javascript encryptions on brightshadows and i know it is fairley easy but any super geek can find a way around protection. so if your idea dosen't work with paypal i will repost

thank you for your idea good thought

eric
Feb 7 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
735
by: SamMan | last post by:
I am fairly new to PHP programming, and I'm trying to get my head around this one... I have a form that I am doing validation on via PHP within the same page (form.php), so if there is an error,...
2
4723
by: qaz | last post by:
I have login links on a number of pages in my site. Some of the pages expect variables on the querystring. I want to be able to login from any of these pages. The login link redirects me to a...
5
1883
by: Don | last post by:
I have a need to submit a form, but don't need the user to click on a button. How do I do this? Is there some way, using JavaScript, to setup a <form> tag to do this? Thanks, Don ----==...
1
1557
by: Marley | last post by:
Is it possible to call a VB6 COM+ object on the click of a button or image in classic ASP without submitting the form to the server? An example: I have a form with a person's name and address all...
4
2798
by: Adam Smith | last post by:
Hello, How can I call or trigger an external javascript twice in a form? I have <script language="JavaScript" src="country_state.js" name="Country_State"> <script type="text/javascript"...
1
1874
by: bvlmv | last post by:
Hello, relatively new to programming and just trying to create a simple asp page. I have the following drop down menu on a html page and when submitting i would like to call out on asp what someone...
1
1997
by: ramgaikwad | last post by:
<script> function checkFormStatus(oForm) { if(isDirty(oForm)) //event.returnValue = "You have entered form Data without submitting this form."; { alert("You have entered form Data without...
2
3592
by: vikasbatra | last post by:
i m submitting (posting) a form to some external site url . By clicking on submit it opens up new window (target='_blank' set) and my form is submitted there. but if i tries to submit a form using...
4
3562
by: raghuvendra | last post by:
Hi I have a jsp page with 4 columns: namely Category name , Category order, Input field and a submit button. All these are aligned in a row. And Each Category Name has its corresponding Category...
0
7128
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7385
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5467
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4917
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3088
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
661
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.