Faisal777 Posted June 9, 2020 Share Posted June 9, 2020 Here is code that i want to redirect after submitting to another url <div class="js-ticket-form-btn-wrp"> <?php echo JSSTformfield::submitbutton('save', __('Submit Order', 'js-support-ticket'), array('class' => 'js-ticket-save-button')); ?> <a href="<?php echo esc_url(jssupportticket::makeUrl(array('jstmod'=>'jssupportticket', 'jstlay'=>'controlpanel')));?>" class="js-ticket-cancel-button"><?php echo __('Cancel','js-support-ticket');?></a> </div> Quote Link to comment Share on other sites More sharing options...
benanamen Posted June 9, 2020 Share Posted June 9, 2020 OP, do not create duplicate posts. Duplicate of https://forums.phpfreaks.com/topic/310907-help-to-add-redirect-url-to-submit-button/ Quote Link to comment Share on other sites More sharing options...
requinix Posted June 9, 2020 Share Posted June 9, 2020 8 hours ago, Faisal777 said: Here is code that i want to redirect after submitting to another url Make the redirect happen in your PHP. Quote Link to comment Share on other sites More sharing options...
Faisal777 Posted June 11, 2020 Author Share Posted June 11, 2020 can you please help me to do ? Quote Link to comment Share on other sites More sharing options...
cyberRobot Posted June 11, 2020 Share Posted June 11, 2020 More information about redirecting with PHP can be found here:https://www.php.net/manual/en/function.header.php Quote Link to comment 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.