Welcome to TalkGraphics.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2015
    Location
    A galaxy far far away
    Posts
    257

    Default Creating a submit button

    Hello

    I have created an HTML form on a page and attached a submit.png button that will successfully submit the form. However, is there a way to create a submit form using the quick shapes? That way I can change the colours and design easily and not have to export it as an image?

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,874

    Default Re: Creating a submit button

    In the Web Properties > Link of your "quick shape" (do you mean rollover button?), you can add the following: javascript:document.getElementById("my_form1").submit();
    Your HTML FORM needs to have an id; my example would be like: <form id="my_form1">...</form>.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •