|
|
Rank: Devotee
Joined: 7/26/2006 Posts: 35
|
I am trying to make and address book, where the users can submit information. I have made Contacts and Contact Item documents and templates, and setup AutoForm to post new Contact Item under Contacts.
But the new Contact Item’s are created as “RE: Contacts (n)” and I rather wanted that to be the alias (field) companyName.
What am I missing out here?
This is how the tag looks like <?UMBRACO_MACRO macroAlias="umbAutoForm" DocumentType="1076" TabName="Contact Information" ChooseWhereToStore="1059" EditMode="0" ShowTitle="0" TitleName="contactCompany" SaveMemberAlias=", " ShowDescriptions="0" SubmitButtonText="Tilføj kontakt" TextOnSubmit="Tak for din tilføjelse, den vil blive publiceret når den er evalueret." PublishOnSubmit="0" RefreshToParent="1" StorePropertiesInCookies=""></?UMBRACO_MACRO>
Jeg drikker Cola Light fordi jeg kan li' det - virkelig!
|
|
Rank: Devotee
Joined: 7/26/2006 Posts: 35
|
Ups. that code pasting is still in progress.
The code looks like this:
[?UMBRACO_MACRO macroAlias="umbAutoForm" DocumentType="1076" TabName="Contact Information" ChooseWhereToStore="1059" EditMode="0" ShowTitle="0" TitleName="contactCompany" SaveMemberAlias=", " ShowDescriptions="0" SubmitButtonText="Tilføj kontakt" TextOnSubmit="Tak for din tilføjelse, den vil blive publiceret når den er evalueret." PublishOnSubmit="0" RefreshToParent="1" StorePropertiesInCookies=""][/?UMBRACO_MACRO]
Jeg drikker Cola Light fordi jeg kan li' det - virkelig!
|
|
Rank: Aficionado
Joined: 7/19/2006 Posts: 148 Location: aalleren, Denmark
|
That's just the way autoform is setup by default, the naming is atm. hardcoded so you can't change it pr. macro. Umbracian Personal blog: Objects.dk
|
|
Rank: Devotee
Joined: 7/26/2006 Posts: 35
|
Well that leaves room for improvement....
[Any words on v.3?]
Jeg drikker Cola Light fordi jeg kan li' det - virkelig!
|
|
 Rank: Administration
Joined: 7/25/2006 Posts: 413 Location: vipperoed, denmark
|
|
|
Rank: Devotee
Joined: 7/26/2006 Posts: 35
|
I did the trick, although I had to modify my form/template- The template did contain contactCompany, contactName ect, so with showtilte=1 the user had to tap in the Company Name twice ;) I would have been nicer though, if there was an opportunity to make hidden fields, but with the tweak and setting, it do work..
Jeg drikker Cola Light fordi jeg kan li' det - virkelig!
|
|
|
Guest |