This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > April 2004 > Re: Form/table Question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Form/table Question
Alan

2004-03-30, 11:28 pm



> I was creating a form within a table. Some message came about about add form
> code (or something like that) I said yes and clicked the box to not ask me
> again. Unfortuately that was not what I wanted to do so how do I undo it??????
>


First- want to check if you are in "Layout Mode"

If you are, it's possible that the form is being built with a new set of
form tags for each form element, which isn't good and prevent the form from
submitting all the data.

url address to the form page?

On the nag screen about "Add Form Tag?"

This is an older posting, I haven't checked to see if it's the same deal in
2004 version but i'd assume it is.

older msg:


for dw3, dw4, and DMX, to restore the default nag screen about inserting
form tags:

locate the file:
Configuration-->Objects-->Forms-->_notes-->formInsert.js.mno

*****Note- IF on multi-user os, make sure you're looking in the
Configuration folder for You as a User********

Or- just do a system Find File for formInsert.js.mno to find where it is.

formInsert.js.mno is an XML file containing:
<infoitem key="PREF_autoAdd" value="ADDFORM" />

you can change the "value" attribute to "NOFORM", "ADDFORM", or "ASK"

###Quickest and Simplest--- instead of editing that value, simply delete the
formInsert.js.mno file and it restores the default nag screen and acts like
nothing was ever checked.

Also note- Dreamweaver checks to see if the cursor is "inside" of a form
before bringing up the nag screen, or auto-inserting a form tag if the nag
has been killed off. It won't insert a new form tag, IF it's inside of a
form already. If it is doing that, i'd like to see the page code.

It will insert a form tag (or bring the nag screen up) if the cursor is not
inside of a form. (using Layout Mode may confuse dreamweaver, or put the
initial form tag pair in what is not the ideal location..)

having every form element contained inside of form tag is valid structure
and needed for some browsers. But--- All the form elements for one form need
to be within the same single form tag pair. <form> all the form stuff
</form>


dw2004dynamic

2004-04-01, 5:49 pm

Deleteing the formInsert.js.mno file fixed my problem. All is now working as it should.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews