Try:
if(set_value('linkTxt') or set_value('link') ){
$this->form_validation->set_rules('linkTxt[]', '連結標題', 'required');
$this->form_validation->set_rules('link[]', '連結地址', 'required');
}
Basically, Set_value('input_field') will return false if no value . (I'm not 100% sure if this works with array inputs, otherwise try
$this->input->post('linkTxt[]')
If stil don't work, Might stick into a forloop and test each linkTxt for a value.