close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Formatting form output

Thread begun 2/01/2010 7:45 am by info72555 | Last modified 2/09/2010 7:11 pm by Jimmy Wu | 4412 views | 11 replies |

info72555

Formatting form output

The documentation seems a bit limited and I was wondering what settings I need to use to prevent the label name (I think that's what it is) from being shown in the form output.

I have purchased the Contact Form Solution pack and use the template in combination with Form Builder. It works great, except for displaying redundant label information. I have tried to remove it from the code and the output was perfect but the form is then no longer recognized by Form Builder (I cannot edit it).

Link to form: MemberInformation.php

Sample output:
-----
Business Overview group What sets you apart from the competition: test
Business Overview group Your Tag Line, Motto, Philosophy or Mission Statement: test
-----
I would like to hide "Business Overview group "


PS: I was also wondering whether you could PLEASE help me with a glitch I cannot figure out. At the very end of every form submission, "</html" is being added so it would actually display:
-----
Business Overview group What sets you apart from the competition: test
Business Overview group Your Tag Line, Motto, Philosophy or Mission Statement: test
</html
-----

I am new to this and have already spent a few hours trying to pinpoint where this is being created. Your help would be GREATLY appreciated!! :o)

Sign in to reply to this post

Jimmy Wu

The form looks different from your description. Have you already made the changes that were necessary to get it to look the way you want?

Sign in to reply to this post

info72555

Puzzled...

I am not sure what you mean by 'looks different'. This is the form I am referring to in my initial post and nothing has been changed.

I listed only the last part of the form output to save space. Look at the last 2 fields and you will see they match the form.

Thanks

Sign in to reply to this post

info72555

Hello?????

Is anyone going to respond to me??

Thank you

Sign in to reply to this post

Jimmy Wu

I'm sorry, I misunderstood what you were asking about. The form submits as the form element name, so you would have to change that directly within the form. Form builder names the form elements by adding the fieldset id to the form element id. To get the form elements to submit differently you would just set it as a different id. Make sure all references to that form element are also changed.

Sign in to reply to this post

info72555

One more question you missed...

Would you please help me with the coding glitch that adds "</html" at the end of the form output? Your help would be greatly appreciated - Thank you.

Sign in to reply to this post

neilo

If it is appearing like that as text (i.e. not source-code) you could try using Dreamweaver's 'search and replace' 'Entire Current Site' but choose 'Text' from the 'Search:' drop-down list, then click 'Find All'. That may flush it out.


Incidentally, If you just wanted to hide the 'Business Overview' heading from view, but without affecting the validation, or the ability to re-enter the CSFormBuilder edit area, you could just add a couple of inline styles to the html in your page.

The first change hides the 'Business Overview' heading, and the second one closes the gap that it leaves. Find this in your page html:

<li>
<fieldset class="Sharp_Default" id="Business_Overview">
<span class="groupHeader">Business Overview</span>


and change it to:

<li style="margin-top:-45px;">
<fieldset class="Sharp_Default" id="Business_Overview">
<span style="display: none;" class="groupHeader">Business Overview</span>
Sign in to reply to this post

info72555

Thank you!!!

I was wondering if there would be a fix without too much work and you found one! Awesome!!

Thank you, thank you!!!

Sign in to reply to this post

info72555

Sorry to bug you again - you misunderstood my question...

I jumped the gun and responded to your proposed solution without trying it out.

When I create a form in CSS Form Builder, I need to assign names to the Fieldset Groups. When someone fills out the form, thie fieldset group name is then combined with the name of the field.

Let's say the Fieldset name specified in Form Builder is "Contact Information". The field in the form is called "First Name". I use the template provided in your Contact Solution to format the output. When I receive the form via email, the Fieldset Group name and the name of the Field name are now combined. Instead of showing: " First Name", it displays "Contact Information group First Name". What is the best way to remove the Fieldset Group name from the output? I have gone through the form and removed the Fieldset Group names but that resulted in links being broken and I could no longer edit the form in Form Builder. I hope this time you understand what I am trying to do.

The Search and Replace suggestion for the redundant "</html" that is added at the end of the form output (what is sent to me after someone fills out the form) does not yield any results. It only finds the proper tags so I assume it's a piece of code that creates this oddity. I cannot figure out where and how the "</html" is created and why it is being displayed.

Any help would be GREATLY appreciated. Sorry for my inability to explain my challenges properly the first time.

Sign in to reply to this post

Jimmy Wu

Can you post up a copy of the page that the form is posting to (where you are displaying the information)? If you don't want the fieldset name to be in the display, you can remove it there.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...