Validate Action and Buttons

Hello,

I was wondering if anyone knows if (and how) to utilize the Validate action with a custom created button (I’m using a .png offsite). I have very limited knowledge on the subject, but it seems like it is necessary to use the Freeway “submit” button with validate…any one know of a workaround?

Thanks,

Sean


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Can you expand on what you are trying to do.

The validate suite is usually used to check that a text field has specific content - is that your plan?

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yes that is my plan. The issue is that I set up the form just the way the support article states, utilizing the button function and placing the javascript action in the form setup window. However, graphically the button that is produced by Freeway doesn’t ‘cut the mustard’ so I am trying to use a custom button instead. I don’t know how to integrate the new button into the Validate action…does that make sense?

Sean


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is there a reason that you cant use the ‘custom button’ on your FW page.

How are you displaying it in FW.

You can draw an empty graphic box over the top of where your button will appear on the FW page and select the option (under the 3rd Tab in the inspector) to use the graphic as a Submit button.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I haven’t used this Action before, but many JavaScript form “validators” actually just hook the form’s submit method, and run then. So it doesn’t matter how you submit the form – if it’s a single-field search form, and you just typed something and pressed Return, that should trigger the form-checking fiesta anyway.

Remember–never trust a JavaScript form validator to protect you from unwanted or “illegal” inputs. If your form does something business-critical, make sure that you back it up on your server with a proper input sanitization system of one sort or another. The easiest way to submit a form with illegal content is to simply disable JavaScript in your browser. Zero effort for the hax0r.

Walter

On May 8, 2012, at 4:55 PM, Sean Lathrop wrote:

Yes that is my plan. The issue is that I set up the form just the way the support article states, utilizing the button function and placing the javascript action in the form setup window. However, graphically the button that is produced by Freeway doesn’t ‘cut the mustard’ so I am trying to use a custom button instead. I don’t know how to integrate the new button into the Validate action…does that make sense?

Sean


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ok, thanks. I’m going to try to place the graphic button over and do as prescribed. Will get back to you on results.

You guys are awesome.

Thanks,

Sean


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Good Day,

So I went ahead and just clicked the “Submit” box in the inspector pane for the graphic button and it is now working seamlessly with the Validate option, even without using a submit button “under” the graphic as suggested.

Thank you so very very much, I truly appreciate your help.

Sean


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options