Jump to content

Coding for a functional Button on Input Form


wscwt01
 Share

Go to solution Solved by wscwt01,

Recommended Posts

Hi again folks,

 

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: -

 

FROM PAYMENT SECTION                 TO                  DELIVERY SECTION

 

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 as per attachment in which to place your bespoke code.

Hope you guys can help,

Al the best,

Carl.post-165843-0-28992000-1469630935_thumb.jpgpost-165843-0-75940500-1469630935_thumb.jpg

 

 

 

Link to comment
Share on other sites

Normally I would do this with JS but with your current framework not sure if that would work for you.

Hi there,

Thanks for your response.

The Button Properties as per my attachment is looking for JS coding so it may well be it will be fine.

Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.