Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Ajax Form Auto-Fill

$
0
0
I have read it here My link that AJAX validation is not supported on the file upload, but I want to implement very simple thing. In my form I am uploading a file and I want some of the field to be filled automatically with the name of the file and current time stamp and name of user, could any one suggest me how can I achieve that.

How can I achieve this: below are the field from my _form

Alert File: File to be upload
Title: autmatically filled with the file name
Type: User will input
File Name: should fill automatically
Created by: should be filled automatically the logged user name
create on: should be filled by current date

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>