Hi Paul
Thought I would start this here so that it's out of my other discussion so it's a little clearer to discuss.
I have created two ways to add the form and a demo is here : https://jr-images.ning.com/my-form
The first way is by using some jquery and of course html. The css etc you would know how to do that
INSTRUCTIONS FOR THIS OPTION
1, You can either create a custom page or you can add this to any page
2, add an html block to the page then click the little html button and add a div, I used this <div class="formContainer"></div> You can add a title to the html block or can be left blank
3, save this then save the page
4, Go to your Social Site manager then in the custom code end of page section add the html into it like this
<script>
x$(document).ready(function(){
x$('<form class="myForm"><div class="myForm-body"><h1>MY FORM</h1><div><label for="firstName" class="label">First Name</label><input name="firstName" type="text" id="firstName" size="10"></div><div><label for="lastName" class="label">Last Name</label><input name="lastName" type="text" id="lastName" size="15"></div></div></form>').appendTo('.formContainer');
});
</script>
5, now your can add your css in the design studio, i just added a little margin just for demo
.myForm-body div{
margin:20px;
}
.myForm .label{
margin-right:10px;
}
Now the form will show on any page you add an html block with that div in it so you can place it whever you want.
SECOND OPTION ADDING INTO THE HTML BLOCK ITSELF
For this one we simple add an html block to a page, click the little html button ( tip you normally can tell it's in html mode as when you click in the text area it turns yellow ) then add your for html code and then just add your css. Here is what I added
<form class="myForm"><div class="myForm-body"><h1>MY FORM</><div><label for="firstName" class="label">First Name</label><input name="firstName" type="text" id="firstName" size="10"></div><div><label for="lastName" class="label">Last Name</label><input name="lastName" type="text" id="lastName" size="15"></div></div></form>
Hope that helps you get started
Bizz :-)
Replies
Thank you!
Sorry for the slow response: I am away from home at present, and had difficulty accessing the site. And, for some reason, when I did access it, the most recent messages in this thread were not being displayed. Still confused about that.
Anyway, you are running a script on the form page, which I what I was told I could not do. And my script disappeared from the code block, which rather reinforced the message. Perhaps it is PHP which I can't use? I'm guessing the code above is Javascript?