Forums
This topic is locked
using image to submit form
Posted 10 Oct 2002 15:07:07
1
has voted
10 Oct 2002 15:07:07 Sabina Ranjit posted:
HelloI've put the following code in the link (Property Palette)of Image to submit form.
javascript:document.yourformname.submit()
however, When I add a yaromat's Check(Validate) Form behavior, it doesn't work. Instead it just directly inserts data into my database even if required fields are empty.
I also have Insert Record Behavior for that form.
I tried not using normal submit button, and it works fine.
Could someone help me with how the code above (or any others)needs to be changed in order to get my validation working?
Thanks
Sabs
Replies
Replied 10 Oct 2002 15:12:53
10 Oct 2002 15:12:53 Sabina Ranjit replied:
Sorry:
read this>>I tried not using normal submit button, and it works fine.
AS
I tried using normal submit button, and it works fine.
Thanks
read this>>I tried not using normal submit button, and it works fine.
AS
I tried using normal submit button, and it works fine.
Thanks
Replied 11 Oct 2002 20:22:16
11 Oct 2002 20:22:16 Dave Thomas replied:
just add the image you created by using.
insert > form > image field
then click on image and open the source window.
in your html for your button add this before your closing > tag
value="submit"
(this is exactly how a normal submit button works, so it should be ok)
Regards,
Dave
UD4 | Flash 5 | SQL | Access | ASP/VBScript | XP-Pro
insert > form > image field
then click on image and open the source window.
in your html for your button add this before your closing > tag
value="submit"
(this is exactly how a normal submit button works, so it should be ok)
Regards,
Dave
UD4 | Flash 5 | SQL | Access | ASP/VBScript | XP-Pro