wscwt01 Posted July 27, 2016 Share Posted July 27, 2016 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. Quote Link to comment https://forums.phpfreaks.com/topic/301656-coding-for-a-functional-button-on-input-form/ Share on other sites More sharing options...
ginerjm Posted July 27, 2016 Share Posted July 27, 2016 Normally I would do this with JS but with your current framework not sure if that would work for you. Quote Link to comment https://forums.phpfreaks.com/topic/301656-coding-for-a-functional-button-on-input-form/#findComment-1535155 Share on other sites More sharing options...
wscwt01 Posted July 27, 2016 Author Share Posted July 27, 2016 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. Quote Link to comment https://forums.phpfreaks.com/topic/301656-coding-for-a-functional-button-on-input-form/#findComment-1535157 Share on other sites More sharing options...
ginerjm Posted July 27, 2016 Share Posted July 27, 2016 Then you're all set! Quote Link to comment https://forums.phpfreaks.com/topic/301656-coding-for-a-functional-button-on-input-form/#findComment-1535159 Share on other sites More sharing options...
wscwt01 Posted July 27, 2016 Author Share Posted July 27, 2016 Then you're all set! Ok does that mean you can provide solution? Quote Link to comment https://forums.phpfreaks.com/topic/301656-coding-for-a-functional-button-on-input-form/#findComment-1535166 Share on other sites More sharing options...
ginerjm Posted July 27, 2016 Share Posted July 27, 2016 This is a php forum Quote Link to comment https://forums.phpfreaks.com/topic/301656-coding-for-a-functional-button-on-input-form/#findComment-1535167 Share on other sites More sharing options...
Solution wscwt01 Posted July 27, 2016 Author Solution Share Posted July 27, 2016 This is a php forum Sorry got you. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/301656-coding-for-a-functional-button-on-input-form/#findComment-1535170 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.