Upload datatype Options
imayat12
Posted: Tuesday, July 01, 2008 1:01:33 PM

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.
kalpa
Posted: Tuesday, July 01, 2008 8:41:45 PM

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)
imayat12
Posted: Tuesday, July 01, 2008 11:13:25 PM

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.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.