Drupal 8 plugins API

Submitted by editor on Thu, 07/07/2016 - 15:05

first form
$form['OrderId'] = array(
'#type' => 'textfield',
'#title' => t('REFERENCE ID:'),
'#required' => TRUE,
);

$form['amount'] = array(
'#type' => 'textfield',
'#title' => t('TRANSACTION AMOUNT:'),
'#required' => TRUE,
);

$form['Back'] = array(
'#type' => 'submit',
'#value' => t('Back'),
);

$form['submit']= array(
'#type' => 'submit',
'#value' => t('Pay'),
);

second page i have to get previous form parameters as POST method

Add new comment