Can I use a reset button as a Page refresh button - I assume that I need to use extended attributes but I don’t know what they are - or do I just create a new button and use it (again with extended…).
In Freeway select your Reset button and in the item output settings of the inspector change the value to “Refresh” no quotes and change the Type from Reset to Button
Then in the Item menu>Extended Create a new name/value pair with the name as “onClick” and the value as “window.location.reload()” again no quotes.
OK the dialogues and you are done.
The reason I wanted to do this was so that when I am using Mike B’s excellent easiform/captcha the viewer has the option to refresh the page if the Captcha is difficult to read.
if you need it for this purpose then there is a simpler way, just
place a button on your page, use Refresh as the Value and name * not
submit * and the page will be sent without loading the easiForm or
easiCaptcha processing scripts, the captcha will then be changed.
Should do, it worked fine for me like this and I have just done
another check and using the method I suggest the image reloads. Did
you leave the button as a submit button? you need to… that’s all I
do on my forms that used the image version.
The nice thing about doing it like this is the selected values or
those entered by the user then remain intact as the form then picks
them up again after the refresh is pushed.
Mike
On Mar 20, 2008, at 8:01 PM, DeltaDave wrote:
Thanks for that Mike.
I tried what you suggested but it didn’t work for me?
The other method worked fine so I have just reverted back.