Results 1 to 8 of 8

Thread: Using a custom button for submit (or reset)

  1. #1
    Senior Member franko's Avatar
    Join Date
    Apr 2010
    Location
    Tasmania Australia
    Posts
    2,640

    Default Using a custom button for submit (or reset)

    I know I used to know how to do this, but for the life of me I can't remember and I can't find it in the manual. How do I add a Submit event to a custom button (custom graphic, that is) using the standard form tools (not the component which I've never actually even opened). It should be easy but I've got a complete mental blank over it.

  2. #2
    Senior Member
    Join Date
    Apr 2010
    Posts
    352

    Default

    You can choose "Image" next to Type under form Properties, or you can CSS it by setting a custom style. In Form Properties click where it says Style and choose Manage Styles and create a new one with a background of the image you want for the button and then choose SUBMIT or RESET as your Type and then select your new Style you've created.

  3. #3
    Senior Member franko's Avatar
    Join Date
    Apr 2010
    Location
    Tasmania Australia
    Posts
    2,640

    Default

    Thanks Andrew. The second method you mention works just fine but I seem to remember that you used to be able to select and image in the form properties as you say, but then how do you attach the SUBMIT button properties in whatever language is being used (PHP or Perl)?

  4. #4
    Senior Member
    Join Date
    Apr 2010
    Posts
    352

    Default

    If you use the CSS method, you are attaching it to the SUBMIT button in the normal way, you are simply changing it's display, therefore you attach the properties of the submit to your PHP script in the usual way under the Forms General Properties icon in Forms Button Properties.

  5. #5
    Senior Member franko's Avatar
    Join Date
    Apr 2010
    Location
    Tasmania Australia
    Posts
    2,640

    Default

    Ok gottit. Thanks

  6. #6

    Default

    Can I please reopen this thread, I have a client that is demanding that their forms submit and reset buttons be custom, futhermore they need to have two states, mose over and normal.

    I have tried what you have written here but it does not work in Fusion 12. I can get th image to load usin CSS but the size is wrong and it will not adjust regardless of what seeting I use.

    The next hurdle would be to add the mouse over effect.

    Your help is greatly apprieciated.

    Shamim

  7. #7
    Senior Member Thomas Frei-Herrmann's Avatar
    Join Date
    Apr 2010
    Location
    Berlin, Germany
    Posts
    998
    Tommy

    Administrator at the German NOF-Forum

    NOF-Tutorials.com | German NOF-Forum | Overview of my tutorials | Facebook

  8. #8
    Junior Member
    Join Date
    Apr 2012
    Location
    St. Albans., Herts., UK
    Posts
    11

    Default

    See my post in the NOF 12 section - might help.

Posting Permissions

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