form issues

J

jon

Hi, I am trying to separate form with some div's but frontpage keeps telling
me it is invalid. Here is the code that I am using.
<div id="wizard2" dojoType="WizardContainer" hideDisabledButtons="true"
style="width: 100%; height: 200px;">
<div dojoType="WizardPane">
<form>
<h1>Step 1 of 3</h1>
<p>Lorem ipsum dolor sit amet</p>
</div>
<div dojoType="WizardPane">
<h1>Step 2 of 3</h1>
<p>consectetur adipisicing elit</p>
</div>
<div dojoType="WizardPane">
<h1>Step 3 of 3</h1>
<p>sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua</p>
</form>
</div>
</div>
If it cant be done then how do I link 3 forms together so I can have 1
submit and reset button at the end and it works like there is one form.
 
D

David Berry

What do you mean FP tells you it's invalid? Where/When does it tell you
that? Also, if you're going to use Dojo is the rest of the code correct?
Do you have the JS files you need? Are you using the right events for your
form? It may not be FrontPage but problems with the way you're using Dojo.
See the user manuals at http://manual.dojotoolkit.org/WikiHome
 
D

David Berry

Why do you have a <form> tag with no "Action"? I don't see why you even
need the form tags. As for FrontPage, I think you're going to have to
ignore the error for 2 reasons.

1. B2TR is still a beta and who knows what can happen
2. the Dojo code you're using works like XML so it wants tags closed. The
way you have this nested I think it's looking for the </form> tag sooner or
it wants <form /> because the rest of the elements are hidden initially.
 
S

Stefan B Rusynko

Invalid html - You can not split a form tag between 2 div

Should be
<div id="wizard2" dojotype="WizardContainer" hidedisabledbuttons="true" style="width: 100%; height: 200px;">
<form>
<div dojotype="WizardPane">
<h1>Step 1 of 3</h1>
<p>Lorem ipsum dolor sit amet</p>
</div>
<div dojotype="WizardPane">
<h1>Step 2 of 3</h1>
<p>consectetur adipisicing elit</p>
</div>
<div dojotype="WizardPane">
<h1>Step 3 of 3</h1>
<p>sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</p>
</div>
</form>
</div>

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi, I am trying to separate form with some div's but frontpage keeps telling
| me it is invalid. Here is the code that I am using.
| <div id="wizard2" dojoType="WizardContainer" hideDisabledButtons="true"
| style="width: 100%; height: 200px;">
| <div dojoType="WizardPane">
| <form>
| <h1>Step 1 of 3</h1>
| <p>Lorem ipsum dolor sit amet</p>
| </div>
| <div dojoType="WizardPane">
| <h1>Step 2 of 3</h1>
| <p>consectetur adipisicing elit</p>
| </div>
| <div dojoType="WizardPane">
| <h1>Step 3 of 3</h1>
| <p>sed do eiusmod tempor incididunt ut labore et dolore magna
| aliqua</p>
| </form>
| </div>
| </div>
| If it cant be done then how do I link 3 forms together so I can have 1
| submit and reset button at the end and it works like there is one form.
| --
| Looking for a low cost web designer go here http://jonwebdesigner.com
 
J

jon

Thanks for your help. I didnt have any form parts in there because since I
saw that I decided to stop and work on something else.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top