Embedded PDF filename = first+last name

Hello,
I am currently setting up a website for a sports club and they would like a fillable pdf for online registration that will then be emailed to them upon completion.
Firstly somehow I need a identifier field I believe if I can use say the first two letters of the first and last name plus the seconds modifier it will be unique. Which they can use as a reference.
If anyone has any ideas on how to acheive this please let me know =)
Secondly when the user clicks save or email it would be really handy for the filename to automatically change to the unique identifier.
Thirdly I'll be embedding this PDF in a joomla article, does anyone have any ideas if I could create a button that would send the pdf as an attachment automatically through joomla when a user presses the submit button in the PDF?
I have searched all morning (6 hours now) and havn't got far at all, so I decided to come here. Any help is very much appreciated!

Renaming the file is something that you need to do server-side when you're
generating the PDF file, before serving it to the user. If the file is not
generated by a server but is simply offered to the user as a static file on
the server, then it's not possible.
I don't know much about Joomla, but I don't think you could achieve this
with a script from within a PDF, either.

Similar Messages

  • Remove First & Last Name Validation in Get Support

    Hi All,
       I have enabled the self management of password for portal users. I have to remove the First & Last Name validation  and make it optional, I have also made (ume.logon.logon_help.name_required = false)  in configtool and taken the restart of the server, but still it is validating the names.
    If anyone have removed the validation for the above, can help me.
    Thanks in advance.
    Regards
    Ponnusamy

    Hi Ponnuswamy,
    the right place to remove the validation is the par file of the login page.
    Get the par file from the portal. unzip the par file.
    under the PORTAL-INF\lib u will find the umelogonbase.jar
    Extrat the jar. get the java file named
    SAPMLogonLogic.java.
    Modify the piece of code in the java file.
    private void performForgotPassword()
            throws IOException, UMException, FeatureNotAvailableException {
            String methodname = "performForgotPassword";
            if (trace.bePath()) {
                trace.entering(methodname);
            try {
                String longUid = this.proxy.getRequestParameter(LogonBean.LONGUID);
                if (longUid != null) {
                    longUid = longUid.trim();
                // check for email id
                String email = this.proxy.getRequestParameter("email");
                String lastName = this.proxy.getRequestParameter("lastname");
                String firstName = this.proxy.getRequestParameter("firstname");
                String noteToAdmin = this.proxy.getRequestParameter("notetoadmin");
                IUser userFrom = UMFactory.getUserFactory().getUserByLogonID(longUid);
                if (email.equalsIgnoreCase(userFrom.getEmail()) &&
                        firstName.equalsIgnoreCase(userFrom.getFirstName()) &&
                        lastName.equalsIgnoreCase(userFrom.getLastName())) {
                    // email matched, assign a new password and email to user
                    String newPass = UMFactory.getSecurityPolicy().generatePassword();
                    IUserAccount ua = UMFactory.getUserAccountFactory()
                                                       .getMutableUserAccount(longUid);
                    ua.setPassword(newPass);
                    ua.save();
                    ua.commit();
    this is the original coding.
    remove the check for last name and first name in that
      if (email.equalsIgnoreCase(userFrom.getEmail()) &&
                        firstName.equalsIgnoreCase(userFrom.getFirstName()) &&
                        lastName.equalsIgnoreCase(userFrom.getLastName()))
    complie the java file. get the class and store it in the umelogonbase.jar . put the jar back in the original place. deploy the par.
    u will get the desire result.
    cheers,
    Sithi

  • Display first last name ecord

    source schema like 
    <ns0:empdetails xmlns:ns0="http://BizTalk_Server_Project3.Schema1">
      <employee>
        <FirstNmae>Kapil</FirstNmae>
        <lastname_x0020_></lastname_x0020_>
      </employee>
      <employee>
        <Firstname>Kiran</Firstname>
        <Lastname>Kumar</Lastname>
      </employee>
      <employee>
        <Firstname>Naresh</Firstname>
        <lastname>Kumar</lastname>
      </employee>
     </ns0:empdetails>
    destination will be 
    <employee>
        <Firstname>Kiran</Firstname>
        <Lastname>Kumar</Lastname>
      </employee>
    the first last name record should come and igoner another records if contains last name or not .

    You can acheieve this using Scripting functoid ( Script Type "Inline XSLT Call Template"). Refer to below XSLT script to use. Map output from this scripting functoid to destination node. 
    <xsl:template name="Employee">
    <xsl:if test="boolean(/*[local-name()='empdetails' and namespace-uri()='http://BizTalk_Server_Project3.Schema1'] /*[local-name()='employee' and namespace-uri()=''][lastname!= ''])">
    <employee>
    <Firstname>
    <xsl:value-of select="/*[local-name()='empdetails' and namespace-uri()='http://BizTalk_Server_Project3.Schema1'] /*[local-name()='employee' and namespace-uri()=''][lastname!= ''][1] /*[local-name()='Firstname' and namespace-uri()='']"/>
    </Firstname>
    <Lastname>
    <xsl:value-of select="/*[local-name()='empdetails' and namespace-uri()='http://BizTalk_Server_Project3.Schema1'] /*[local-name()='employee' and namespace-uri()=''][lastname!= ''][1] /*[local-name()='lastname' and namespace-uri()='']"/>
    </Lastname>
    </employee>
    </xsl:if>
    </xsl:template>
    Thanks,
    Pavan
    MCTS-Microsoft Biztalk Windows Server 2010

  • In User groups user name is shown as ADLDSMembershipProvider:UserID and not with First & Last Name

    Hello,
    In SharePoint site Groups for some users, user name is coming up with ADLDSMembershipProvider:UserID and not with the correct first name and last name. 
    Can some one please advice how i can get the correct first name and last name for the users, below screenshots for your
    reference.
    Please advice.
    Regards,
    Purvish Shah

    Hello,
    What version of sharepoint you are using?
    It seems that you have also configured custom membership provider with AD LDS. To verify this go to central admin and check the web application properties to confirm what auth method is being used.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Address book. First & last names order problem

    Hi all, I'm having an issue with address book names not appearing in the right order, or more to the point first and last names not appearing in the right order - in fact it's exactly the same as:
    http://discussions.apple.com/thread.jspa?messageID=7471811#7471811
    However that solution doesn't work.
    Essentially, when I go into address book / prefs and click sort by firstname/lastname - the list updates, but when I click 'before last name' / 'following last name' nothing happens at all. The list is ordered by first name - as I want it, but I'm still getting the surname first.
    This has transferred over to my Touch as well so it's very frustrating! any ideas?
    thanks very much for your time

    Hi
    You want the first name first.
    Investigate this.
    Close Address Book
    Open the ~/Library/Preferences/com.apple.AddressBook.plist with Property List editor which comes with XCode.
    Look for the entry
    *ABNameDisplay Number 1*
    and change the 1 to 0 (zero)
    and save. This sets the name order to 'Before last name'
    If you don't have Xcode it might be on your Install DVD.

  • User first/last name assigned to user id?

    Hi All,
    Is there a table out there which links User Idz to First?last name of user?
    let me know
    ciao!

    usr01 usr02 and addr are the main tables.

  • Outlook task & Contacts first, last name swap

    Hi,
    Sorry if this has been raised before.
    I'm using Windows XP SP2 / Outlook 2003 / Nokia 6275 / Bluetooth. Synching Outlook and phone works successfully except for two small issues:
    * Completed Tasks in Outlook do not delete from phone even though Settings > Calendar options states "PC Sync removes recently completed To-do items from mobile phone".
    * My Outlook contacts are all stored "last name, first name" and sync correctly to phone. However once every month or so some Outlook records (not all) get corrupted and name field is changed to "first name last name"
    Any ideas?

    I am not sure what you mean. If you mean Last name/first name to First name/Last name Go into contacts>options>Settings>Name display and set according to your needs. There are three options there.

  • Contacts first & Last name

    Good day,
        Can anyone help in switching my contacts in X3 from last - first display to First - Last Display.
    Thanks

    I am not sure what you mean. If you mean Last name/first name to First name/Last name Go into contacts>options>Settings>Name display and set according to your needs. There are three options there.

  • How to break first,last name from rows to columns?

    drop table t1;
    create table t1
    (c1 varchar2(100)
    insert into t1
    values(' <First Name >david </First Name>');
    insert into t1
    values(' <Last Name > smith </Last Name >');
    insert into t1
    values(' <First Name >Harry </First Name >');
    insert into t1
    values('<Last Name > Bird </Last Name >');
    select * from t1;
    C1
    <First Name >david </First Name>
    <Last Name > smith </Last Name >
    <First Name >Harry </First Name >
    <Last Name > Bird </Last Name >
    4 rows selected.
    out put should be
    First Last
    David Smith
    Harry Bird
    Thanks

    If homework I'd probably be looking at the string manipulation functions. If a real application I'd be looking at a different table design, and given that these look like xml tags that are or should be defined in a schema, using XMLDB.
    Niall Litchfield
    http://www.orawin.info/
    drop table t1;
    create table t1
    (c1 varchar2(100)
    nsert into t1
    values(' <First Name >david </First Name>');
    insert into t1
    values(' <Last Name > smith </Last Name >');
    insert into t1
    values(' <First Name >Harry </First Name >');
    insert into t1
    values('<Last Name > Bird </Last Name >');
    select * from t1;
    C1
    <First Name >david </First Name>
    <Last Name > smith </Last Name >
    <First Name >Harry </First Name >
    <Last Name > Bird </Last Name >
    4 rows selected.
    out put should be
    First Last
    David Smith
    Harry Bird
    Thanks

  • Inverting first & last names in reports

    Post Author: jweckerly
    CA Forum: Crystal Reports
    Can anyone tell me the syntax for breaking down a string that contains a persons name? We store names by last name first, separated by commas. When I generate a report I would like to reverse them to have the first name before the last name. Thanks

    Post Author: kcheeb
    CA Forum: Crystal Reports
    In a formula field in CR you could do the following. Not 100% sure if I have the InStr functions arguments in the correct order, but you should be able to look that up
    LastName = Left(Name, InStr(',',Name) - 1)
    FirstName = Mid(Name, InStr(',',Name) + 1))
    FirstName + " " + LastName

  • Reg supplier/vendor contact first & last name info

    Hi,
    I have a vendor number. For this I need further info like Contact first and last name info.
    Do we have any FM or table which I can get this data.
    Thanks in advance.
    Deepak.

    Hi Deepak,
    as I understand your posting, you are not looking for the Vendors name but for the maintained contact data. If thats correct, please take a look at table KNVK if you search the table with your vendor number in field lifnr, it will give you all maintained contact data.
    FM WY_KNVK_FOR_VENDOR_CUSTOMER might help.
    Hth
    Ute
    P.S. If you find this answer helpful, please reward points.

  • ISync adds a "-" to contacts with First/Last Name Blank

    Hello, I'm using iSync 2.3 with a Nokia 8800 (S40) and Sonyericsson T610.
    When a contact's name is First name:John Last name:Smith, it syncs properly to my phones as "John Smith".
    With First name: John Smith Last name: empty, it syncs as John-Smith-.
    Same goes with a blank first name. Some of the contacts only have a first name written in, anyone knows how I can get rid of the extra -s?

    I'm not aware of anyone called just "John"! Everybody I know has at least a first name and a last name... therefore that is the data I enter into Address Book and iSync works fine for me and all my Sony Ericsson phones.
    If you don't provide the required data, you can't really expect iSync to work correctly.
    There is a reason for this... its because most phones don't split First and Last Name into two fields like Address Book does. So, if you have a contact named just "John" with no last name, when you sync, how does iSync know whether "John" is a First or Last name?
    To get around this iSync adds a '-' into the blank field, so that when syncing back it knows where to put the data.
    The solution is extremely simple, just provide Address Book with a first and last name (which AFAIK everyone has).

  • In Infopath - From User Group webservice First & Last Name are not displaying

    Hi, I am working on Internet faced Infopath Sharepoint 2010 web application.In Infopath form we used a User Group web service to retrieve the first and last names when opening the form. In Development environment its working fine (Ex:- http://sharepoint2010dev:45/)
    then we extend the webapplication with domain name in url.(Ex:http://Domainsp:80/) then the first and last names from User Groups is not working.
    Please give your suggestions to resolve this isssue.
    Any help is appreciated..!

    Hi,
    According to your post, my understanding is that the User Group web service not worked when extend the web application with a domain name in URL.
    Did you change the URL to the UserGroup web service in the Data Connection Wizard?
    As you had changed the URL, I think you should change the URL(http://<site>/_vti_bin/UserGroup.asmx), then check whether it works.
    http://blog.ianchivers.com/2011/01/using-sharepoint-usergroup-web-service.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Separate First/Last names from Field?

    Greetings
    I have a table in which the first and last names are in one
    field (?) which I need to get into their own fields.
    I would create a new table:
    CREATE TABLE new_table
    AS
    SELECT #SpanExcluding(?, ?)# as last_name
    #SpanExcluding(?, ?)# as first_name
    FROM existing_table; ?
    Any help would be appreciated.
    newportri

    You would use the string manipulation tools available to you
    in your
    database management system of choice to split the string of
    one field
    into to values to update the two new fields you create.
    This answer is a bit vague, because all the different
    database
    management systems out there offer slightly different string
    manipulation functions.
    But I believe your SQL is going to look a bit like this. I
    may be a bit
    off here since I don't do this type of data manipulation very
    often.
    UPDATE myTable
    SET
    firstName = left(fullName,find(fullName,' ')),
    lastName = right(fullName,find(fullName,' '))

  • Why Address Book email addresses without first&last name stacked up under random names when moved to Lion?

    Often in Snow Leopard I would add an email address to my address book wihtout filling in the name fields. For example, Iif I got an email from [email protected], I would "add to address book but never fill out the card completely with the first and last names. The card showed with just an email address. Just left it as the email address. I never had any problems doing this and it always showed up as a single email address on a single card. Oh woe is me! When I moved to Lion I now have multiple unrelated email addresses under some of these "email only" cards. These seem to be the folks who were cards as an email address w/o first and last name fields. Not only that, I have multiples of the "email only cards" and each one has a different set of mutliple "email only" addresses under it. But, at least one of the "email only cards" just has the desired email w no other info. Can I fix this other than manually?
    I now have a disaster of an Address book.

    ok, I've spent some time doing various scenarios.
    I have managed to replicate one scenario which does as you say.
    If my contact in the address book:
    With name details as Peter Foo
    email address: [email protected]
    where there is an inserted space before the name peter, of course this is not instantly noticeable, but it is as if you hit the space bar just before typing the email address.
    Then when I use the Contacts Sidebar in a Write message, it will add the email address like this:
    Peter Foo <" peter"@somewhere.com>
    which of course in invalid.
    but in the address book, if highlight the contact, in the section below the email address in blue -if I click this to send an email the email address is printed exacly with the space and it will send as if nothing is wrong.
    So i'm asking you to check those email addresses which insert incorrectly via the Contacts sidebar. They only do this for me if there is a hidden inserted space at the start of the email address.

Maybe you are looking for