- The form gets submitted only after user approves it.
- You can just add the following lines of coding as attributes in your form element.
- If the user clicks on 'NO', the form is not submitted
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Submit'),
'#attributes' => array('onclick' => ('if(confirm("Are you sure you want to submit the form")) return true; return false')),
);
will you please explain about single sign on concept(general)
ReplyDeletesoon i will add single sign on concpets too
ReplyDelete