close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Setting default values in Form Builder

Thread began 3/27/2010 9:23 am by dmtompki336862 | Last modified 1/29/2011 12:33 pm by holt3937911 | 1133 views | 2 replies |

dmtompki336862

Setting default values in Form Builder

Well, I found the solution. Apparently there is a field available in the "ValidatedField" action, after the colon, in the parens (:"") -- that serves this purpose. I'm surprised this is no where in the documentation (at least that I could find). Is this the correct use?


Through PHP I'm loading a xml file and setting string variables for the page such as $sourcepath. I've already dealt with the imported and exported data, but can't figure out how set a simple default value for the fields created by FB is already using "value=" to perform the form actions. Is there another attribute that can set the deafult value?

value="<?php echo((isset($_GET["invalid"])?ValidatedField("xmlformproc","Science_SourcePath_field"):"")); ?>" class="formTextfield_XLarge" tabindex="1" onblur="hideServerError('Science_SourcePath_field_ServerError');"

Sign in to reply to this post

Eric Mittman

Thanks for posting back with the solution that you found. I have helped others to make this update on the form builder pages and have sent this thread to some others here to see if we can get this documented in some fashion.

Sign in to reply to this post

holt3937911

Setting Default Field Values in FB forms

Thanks...I've been searching for how to do this too.....I see this thread was created in 2005......I kinda surprised its not document somewhere more formal......if it is..I'd really like to know.

:)

Sign in to reply to this post

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...