Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Web page Script problem

Posted on 2014-03-12
4
Medium Priority
?
201 Views
Last Modified: 2014-10-07
I want to have a checkbox selection enable a script (luhn credit card script)

I have the script disabled with <!script.....
I want the checkbox to generate action to remove the !

That way if the user checks he wants to use a credit card I can check to make sure it is a valid  number.

Or suggestions on any other way to do this would be appreciated.


Thnaks.
 Tom Rector
0
Comment
Question by:tomrector
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 1500 total points
ID: 39925243
You cannot enable a script if it wasn't there to start with - you would have to reload it.
Why are you 'disabling' it - shouldn't be doing any harm if you don't need to use it.
0
 

Accepted Solution

by:
tomrector earned 0 total points
ID: 40348892
I figured it out,   I just set the "check box"  to load another page that had the 'active'  script.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn about the eCommerce marketing trends for the year ahead.
Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question