Universal Form Validator ASP Support Product Page

Solved

Tooltip !

Reported 08 Nov 2011 12:16:51
1
has this problem
08 Nov 2011 12:16:51 Andreas Knapp posted:
Hi i checked all the 3 Forums chapters Bug, General etc. and the PDF. But did not find a solution for this on.
I have tooltips on the form.
dmxval1.AddHint "frmINPUT", "IP_YEAR1", "Bitte im Format YYYY"
The field IP_YEAR is not a MUST have field (= without a rule).
If someone is going into the field the HINT/Tooltip is shown. But if you click into the next field, the tooltip will not go off. Its still on the page.

Here is the code:



' Universal Form Validator ASP 1.5.6
dim dmxval1, DMX_validateAction
set dmxval1 = new dmxValidator
dmxval1.ScriptFolder = "../ScriptLibrary"
dmxval1.CSValidateOnChange = true
dmxval1.CSValidateOnSubmit = false
dmxval1.ReenableJavascript = false
dmxval1.UseBotCheck = false
dmxval1.ReportType = 4
dmxval1.ErrorFont = "Arial"
dmxval1.ErrorFontSize = 10
dmxval1.ErrorColor = "#ffffff"
dmxval1.ErrorBgColor = "#ff0000"
dmxval1.ErrorBold = true
dmxval1.ErrorItalic = false
dmxval1.ErrorImage = ""
dmxval1.ErrorFixed = "Custom"
dmxval1.ErrorPadding = 4
dmxval1.BorderColor = "#FF0000"
dmxval1.CssErrorFile = "validatorError10"
dmxval1.ErrorPreset = "error_five.txt"
dmxval1.TooltipPosition = "top"
dmxval1.CssHintFile = "validatorHint10"
dmxval1.HintPreset = "blue.txt"
dmxval1.HintTooltipPosition = "top"
dmxval1.HintBorderColor = "#0099ff"
dmxval1.HintBorderStyle = "solid"
dmxval1.HintBgColor = "#003399"
dmxval1.HintTextColor = "#ffffff"
dmxval1.HintTextFont = "Arial"
dmxval1.HintTextSize = 10
dmxval1.HintTextBold = false
dmxval1.HintTextItalic = false
dmxval1.HintBoxWidth = 200
dmxval1.HintImage = ""
dmxval1.HintFixed = "../Styles/dmxValidator/Icons/info5.png"
dmxval1.HintPadding = 26
dmxval1.UseCustomFocusClass = "fixed"
dmxval1.FocusBorderStyle = "solid"
dmxval1.FocusBorderSize = 2
dmxval1.FocusBorderColor = "#C3D9FF"
dmxval1.FocusBgColor = "#FFFFFF"
dmxval1.FocusTextColor = "#000000"
dmxval1.UseCustomValidClass = "fixed"
dmxval1.ValidBorderStyle = "solid"
dmxval1.ValidBorderSize = 2
dmxval1.ValidBorderColor = "#00FF00"
dmxval1.ValidBgColor = "#FFFFFF"
dmxval1.ValidTextColor = "#000000"
dmxval1.UseCustomInvalidClass = "fixed"
dmxval1.InvalidBorderStyle = "solid"
dmxval1.InvalidBorderSize = 2
dmxval1.InvalidBorderColor = "#FF0000"
dmxval1.InvalidBgColor = "#FFFFFF"
dmxval1.InvalidTextColor = "#000000"
dmxval1.AddRule "frmINPUT", "radio", "allformats", ",,", "true", "Bitte wählen Sie eine Objektart aus.", "", "", ""
dmxval1.AddHint "frmINPUT", "IP_YEAR1", "Bitte im Format YYYY"

dmxval1.Validate


Thanks for help what i can do ??!!!

Official Solution

Replied 08 Nov 2011 19:34:16
Maybe you've set a "required" validation and also "on field change" to your field, that's why it always shows.
That's why we asked you about a link to your page.

Replies

Replied 08 Nov 2011 13:23:42
08 Nov 2011 13:23:42 Vulcho Vulev replied:
Hello Andreas Knapp.
Could you please provide a link to your page?

Regards: V.Vulev
Replied 08 Nov 2011 17:27:06
08 Nov 2011 17:27:06 Andreas Knapp replied:
Hello i can sent a picture from the website. you can see it here:
www.vdpresearch.de/iDEU/image_test.jpg

what i mean is that there is a form field (the red one!) which has a dmxval.HINT and if you go in this field and DID NOT put something in and go to the next field. It will be ALWAYS red all the time. WHY ???? The field did not have any other rules !
Replied 08 Nov 2011 19:34:16
08 Nov 2011 19:34:16 Teodor Kuduschiev replied:
Maybe you've set a "required" validation and also "on field change" to your field, that's why it always shows.
That's why we asked you about a link to your page.

Reply to this topic