ui modify for upload page and judge form input before upload