You will be sent back to last page after saving your bookmark.
Please enter a correct valid title and url
Add Bookmark
create('Homes',array('controller' => 'homes', 'action' => 'createBookmarkletForm', 'class' => 'form', 'name' => 'form')); ?> hidden('Link.user_id', array('maxlength' => '50', 'value' => $data['userId']));?> hidden('Link.cluster', array('maxlength' => '50', 'id' => 'clusterIdInput'));?> hidden('Link.saveTo', array('maxlength' => '50', 'id' => 'saveToId'));?>
label('title', 'Title: ') ?>
input('Link.title', array( 'type'=>'text', 'placement'=>array(1=>'input'), 'label'=>false, 'value' => trim($data['title']), 'class' => 'siteTitle bookmarkInput', 'style' => 'width:400px;' )); ?>

label('url', 'Url: ') ?>
input('Link.url', array( 'type'=>'text', 'placement'=>array(1=>'input'), 'label'=>false, 'value' => $data['url'], 'class' => 'siteUrl bookmarkInput', 'style' => 'width:400px;' ));?>

textarea('Link.note', array( 'type'=>'text', 'placement'=>array(1=>'input'), 'label'=>false, 'value' => '', 'class' => 'notes bookmarkInput', 'style' => 'width:400px;height:90px;color:grey;font-style:italic;', 'value' =>'(Optional)', 'id' =>'notes', 'onFocus' =>"document.getElementById('notes').value='';document.getElementById('notes').style.fontStyle='normal';document.getElementById('notes').style.color='black';" )); ?> Do not store passwords or confidential data in notes.