Form Controls

Issues related to forms.
Post Reply
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Form Controls

Post by cmartins »

Dear friend Pablo,
Did I can increase the size (dimensions) of the Checkbox and Radio Button objects (Form Controls)?
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: Form Controls

Post by [RZ] »

i'm not pablo, but let me try an answer...
not all browsers support this
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: Form Controls

Post by BaconFries »

Like [rz] I am not Pablo either. There is no cross browser solution for this meaning whst may work in one wont in another.
User avatar
Pablo
 
Posts: 21591
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Controls

Post by Pablo »

There is no standard solution for resizable Checkbox and Radio Button objects.
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Friend Pablo, I would like to warn the visitor when some form field of my site was empty, but in warning I would not like to reveal the name of that field (not a friendly name). In the "validate field" option I understood that in the warning I can not change the name of the field that is empty. Example: create a nickname (alias name).

I thought of putting a button (Radio Button?) next to each form field that filled automatically when the empty field was filled out.

So, instead of revealing the name of the field that was empty the warning reveals the name of the button (Radio Button?) next, which would have a friendly name. It is possible? If so, how would I do it? (If you wish to see, the form is at http://www.carlosmartins.com.br/_vocac/vocacional.htm)

I'm sorry, I do not know if my doubt was clear, because I speak Portuguese.
User avatar
Pablo
 
Posts: 21591
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Controls

Post by Pablo »

You can fully customize the validation warning by using the "Error message" property.
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Sorry, but I'm trying to use the "Error Message" property without success.

After clicking on the form field, in "Editbox" -> "Validate" and tick "Data required", I tried to use several options in "Data type" (No Constraints, Text and Number), but the error message does not appear.

(after trying the validation I published ALL the files of the site again, but it did not solve)
User avatar
Pablo
 
Posts: 21591
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Controls

Post by Pablo »

My reply was related to the checkbox, not the edit box.
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Sorry, but would it be possible to check the "Checkbox" - automatically - when the visitor types in the numeric field? That is, make a link between the two form fields.
User avatar
Pablo
 
Posts: 21591
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Controls

Post by Pablo »

This cannot be done 'visually'. It will require scripting.
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Friend Pablo, I tried to put a "Mode" -> "Info bubble (real-time)" warning to prevent some empty field in the form of my site.

When I do "Preview in Brouser" (on my computer) the effect works, but when I publish on the Internet the effect does not work (I've posted it along with all the files on my site).
User avatar
Pablo
 
Posts: 21591
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Controls

Post by Pablo »

Did you publish all files?
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Yes, I published all the files on my site (including wb.validation.css etc.)

My form is not in the root of the site, it is inside a separate folder (along with the file wb.validation.css). Does this cause the problem?
User avatar
Pablo
 
Posts: 21591
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Controls

Post by Pablo »

If it works locally then it should also work online, there is no difference.
The only reason I can think of, is when files are missing or a naming conflict.
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Friend Pablo, you are correct, some file was not published. The form is now OK. Once again. thank you so much.
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Friend Pablo, in the contact form of my site I would like to include a field Date (Y; M; D) where the date appears automatically, without being necessary the visitor to fill. It is possible?
User avatar
Pablo
 
Posts: 21591
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Controls

Post by Pablo »

Did you try the Date Picker in the toolbox?
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

I would like to automatically display the date (Y; M; D) in the contact form field (date), with no need for the visitor to do anything, click or change anything.
User avatar
Pablo
 
Posts: 21591
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Form Controls

Post by Pablo »

That is possible with the date picker.
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Friend Pablo, it was perfect! Thank you.
cmartins
 
 
Posts: 69
Joined: Tue Mar 01, 2016 12:25 pm

Re: Form Controls

Post by cmartins »

Dear Pablo,
I put in the contact form of my website a CAPTCHA provided by WWB 16, but unfortunately it cannot prevent SPAMS that I receive daily (many sent through the domain "@mail.ru"). Please, would you know how to help me with a more efficient solution?
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: Form Controls

Post by BaconFries »

There is not much you can do to prevent spam even with the use of Captchas. If someone wants to sit and fill your form manually to spam daily then they will. You can try block the IP or a range of IP' addresses but they will simply use another to continue.
Post Reply