|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 649 Location: Preston, UK
|
Guys,
Has anyone come across or created an upload type that can restrict the type of upload? I am workiing on cv submit functionality got it all working with autoform. What I want to do is restrict the doc type to word only.
I can create new datatype based on upload and hack it so i pass in filter type list but if someone has already done or something similar then that would be cool.
Thanks in advance
Ismail
Level 2 certified. If it aint broke dont fix.
|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 492 Location: Göteborg, Sweden
|
Ismail, just a quick guess sitting on the train ;) Couldn't a validation regExp solve that in the docType? Or is that only for strings? // ;) Kalle
" - Yeah I'd like to share your point of view, as long as it's my view too... ( http://www.d-a-d.dk/lyrics/pointofview)
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 649 Location: Preston, UK
|
Kalle, I think that is just for strings but you may be onto something the only issue is the regex validation stuff doesnt seem to work in 305 i posted about this in another post where i was validating date to ensure that a date had been entered becuase setting to mandatory didnt work. Regards Ismail
Level 2 certified. If it aint broke dont fix.
|
|
|
Guest |