Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Check Box and Button in Content Editor Web Part

$
0
0

I want to be able to add a check box and a button link to a page (probably in a content editor web part).

But what I want to do is hide the 'Enter' button until the user clicks the checkbox.

HTML code for checkbox and button below:

<input name="Accept" type="checkbox" value="Accept conditions of use. "  />
  I accept the conditions of use.
<input name="Enter" id="Enter" type="button" onClick="trackOutboundLink(this, 'Enter GIS Website', 'maphost'); return false;" value="Enter GIS Website. "   />

I also want users to be taken to a web address when they click the button.

The OnClick event on the button HTML above is Google Analytics event tracking so we can track how many people click the button.

I don't know if this can be done in SharePoint 2010.


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>