close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation clears filled fields

Thread began 2/23/2010 9:53 am by Miguel | Last modified 3/03/2010 8:17 pm by Jason Byrnes | 1361 views | 6 replies |

Miguel

Validation clears filled fields

ok this validation toolkit is driving me crazy, i have already several post and no fix yet to anything :S, now i just realized that when i have validation on a form page if i leave just one field in blank after pressing submit or insert it also clears the rest of the fields example i have a form with 4 fields

Name
Adress
Category
picture

i fill up name, i leave address empty i fill category from a drop down i place a picture file and when i clic insert it gives me the correct msg that the adress field is required but it also clears all my other fields what is wrong with validation toolkit, im getting errors if i try to validate pictures width and heights i get errors if i try to validate a file extension, what can i do i **** want to return using addt and would use it if the php 5.3 wouldnt do so much harm, the forms are auto created by the data assist wizard making the insert page update search etc... i have not done any custom code to those pages just used the data assist wizzard followed the pdf on how to validate, but seems these softwares are full of bugs, and this time i have made sure i checked every video and pdf to avoid what happened to me trying to apply sha1 that i missed some videos and thought i had readed all documentation, i have lost 5 days trying just to validate with no luck

Please tech support help!!!!

Sign in to reply to this post

Eric Mittman

I assume that this is occurring for you on the insert page since the update page should default these values to what is in the db.

All that you need to do is go into the bindings tab and expand the form entry there. You then need to click on the first form field and then click the corresponding binding and click the bind button below the binding. I'm including a screen shot of this for reference.

Sign in to reply to this post

Miguel

that didnt work it keeps making empty the cells added the file so you can check that all where binded

Attached Files
banco_Insert.zip
Sign in to reply to this post

Jason ByrnesWebAssist

Instead of binding to the form filed values, use the validated entries collection.

Select the form element, in the property inspector, click the lightning bolt, then select the corresponding dynamic binding from the Validated Entries Collection.


The validated entries collection is created by validation toolkit to hold the values of the validated form fields when validation fails.

Sign in to reply to this post

Miguel

Cool thanks that did the trick :)

Sign in to reply to this post

barbara224891

where is the validated entries binding?

I'm trying to do the same thing. I have the form on a checkout page, submitting to a confirmation page (they were generated by the eCart checkout wizard). If I select a form field and click on the lightning bolt, I am offered access to ecart variables, the form variables or server variables. There is no set of validated form variables. I'm wondering if that's because the form submits to another page, the confirmation page. When I look in the bindings panel on that page, I see, in addition to those sets listed, the local checkout response variables from Authorize.net.

Thanks for your help,
barbara

Sign in to reply to this post

Jason ByrnesWebAssist

the validated entries bindings are only available on the page that the Server Validation server behavior is applied to.


The work around is to drag the binding to the confirm page.

In code view, select the Valdated entry binding code and use ctrl (cmd)+x to cut the code, then past it into the initial value filed for the corresponding form element on the checkout page.

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