Results 1 to 2 of 2

Thread: Coding for a functional Button on Input Form

  1. #1
    Join Date
    Jul 2016

    Coding for a functional Button on Input Form

    I have a single Form which allows user to create a new Gift Voucher record.

    It is split into 3 input areas Voucher Details, Payment Details and Delivery Details.

    I want to add a button on the Payment details section which when activated will copy some of the entered fields from the Payment section to some of the fields in the Delivery section as follows: -


    PurchaserName DeliveryName
    PAddressLine1 DAddressLine1
    PAddressLine2 DAddressLine2
    PCounty DCounty
    PPostCode DPostCode

    I am using a Code Building product called PHP Runner which when you add a button gives you a properties widget.
    Please email me for a screen shot of both the form and the button properties box carltedd@outlook.com

  2. #2
    Join Date
    Mar 2007
    1. you should't be relying on JavaScript for this
    2. collect the information through each process and then confirm page of those details. so you will have Voucher Details, Payment details, Delivery Details and a confirmation that details are correct page and then a page that confirms that an email confirming the order was sent or made.

    If you must use JavaScript then I suggest that you use the localStorage object to store information on the clients browser between pages and then delete it when done.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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