Mighty Submitter Script: short documentation.
Mighty Submitter Script is an extended version of JavaScript, which can be applied to a document after it is filled by Mighty Submitter. It has an additional object available: curProfile, which contains information about current profile. Here is a list of it's fields and methods:
curProfile.name - string, name of current profile;
curProfile.nick - string, nickname;
curProfile.pics - string, number of pictures;
curProfile.recips - string, number of recip images;
curProfile.recipFolder - string, recip folder URL (full path on your server);
curProfile.mail - string, e-mail address;
curProfile.primaryCat - string, primary category (e.g. "Amateur", "Teens");
curProfile.secondaryCat - string, secondary category;
curProfile.thirdCat - string, third category;
curProfile.fourthCat - string, fourth category;
curProfile.fifthCat - string, fifth category;
curProfile.thumb80x80hdd - string, 80x80 pix thumbnail on HDD;
curProfile.thumb88x88hdd - string, 88x88 pix thumbnail on HDD;
curProfile.thumb90x120hdd - string, 90x120 pix thumbnail on HDD;
curProfile.thumb100x150hdd - string, 100x150 pix thumbnail on HDD;
curProfile.galleryURL - string, gallery URL;
curProfile.shortDescr - string, short description;
curProfile.mediumDescr - string, medium description;
curProfile.fullDescr - string, full description;
curProfile.extraLongDescr - string, extra long description;
curProfile.proxyURL - string, proxy server URL;
curProfile.proxyPort - string, proxy server port;
curProfile.websiteURL - string, main website URL;
curProfile.shortDescr - string, short description;
curProfile.isTemporary - boolean, is current gallery temporary;
curProfile.isPermanent - boolean, is current gallery permanent;
curProfile.isPictures - boolean, does current gallery contain pictures;
curProfile.isVideo - boolean, does current gallery contain videos;
curProfile.sendConf - boolean, if current profile is set up to receive confirmation mail;
curProfile.thumb80x80url - string, 80x80 pix thumbnail on server;
curProfile.thumb88x88url - string, 88x88 pix thumbnail on server;
curProfile.thumb90x120url - string, 90x120 pix thumbnail on server;
curProfile.thumb100x150url - string, 100x150 pix thumbnail on server;
curProfile.comments - string, comments;
curProfile.recipURL - string, recip link URL;
curProfile.movieCount - string, number of movies on gallery;
curProfile.movieFormat - string, movie format;
curProfile.movieLength - string, total play time of movies;
curProfile.movieSize - string, total movie size;
curProfile.oneMovieSize - string, average size of one movie;
curProfile.movieHasSound - boolean, true if movies have sound;
curProfile.siteType - string, website type (AVS, Free, Pay, etc);
curProfile.backdoorURL - string, backdoor URL;
curProfile.customFields(string FieldName) - string, returns value of custom field, specified in FieldName;