How to show ACF (advance custom fields) user data to gravity forms? - gravityforms

Is there anyone encountered this? I need some help. I am trying to get the value of my ACF Fields from user (current user). I want it to show in gravity forms as a (hidden field) or (merge-tag) or any other solution will work.
For example: I created a custom field using ACF name "available payout balance" then I created a form using gravity forms with (available balance field in it) it is mapping on the registration form correctly, I put 0 as default value... Now, I want to show that field (custom field) value in gravity forms.
{user:[meta_field_name]}
I tried this but it doesn't show the value the custom field of the user.

Gravity Forms Populate Anything supports populating pretty much any user meta into pretty much any field. Here's an example of what the field settings might look like:

Related

How to make text field to people picker in edit form in SharePoint 2013

There is text filed in which "Author" name saved while submitting new form but while editing that form is there any way by which I can make it People picker and user can select the new name name and save the changes.
Unfortunately Naveen's answer's will not work for you.
The Client People Picker does not apply to SharePoint 2013 on-premise, except when writing a custom AddIn which you are not doing.
You also can't change the existing Text field of Author to be a people field directly as that is an illegal/invalid field type modification.
You will need to edit your existing field and rename it to something like AuthorOld/AuthorText. And then create a new field as a person field named Author.
However, it sounds like you're trying to let the user edit the field for who created the item. That field is locked for editing by end users. You can however, hide that field and just create a new person field with a default value of [Me] (this fills in the current users name when they create an item). Which will let you get the behavior it sounds like you're after :)
What my understanding is in SP Default edit form you have a Text Field to Save the User Value. Now you need to make that Text field as PeoplePicker Control.
You have 2 choice to done this.
1) Go with OOB. Make that Text field which is used to save the "Author" name as User Field. So it will be act as a PeoplePicker control in Both New/Edit Form.
2) Add Content Editor Webpart in the Edit Form. And make that Text Field as Client people picker.
Refer for
Client People Picker
Mark as answer if it helps.

Want to create an column in Dynamic View Panel that displays "Favorites" icon

I am using a Dynamic View Panel and would like to create a "Favorites" column in the view. The underlying view has a "Favorites" multivalue names field that contains all users that have flagged the document as a favorite. What I would like to do is to handle this conversion in a "Customizer" bean where I can compare the current user with the stored vales in the "Favorites" column and see if they are in the list. If they are I would present a "Green Star" icon (not a standard Notes icon) else I would present an empty star icon. I would also like to make the star icon live so if you click on the star it would toggle the favorite value in the database on/off.
How do I implement such a feature?
What are the DominoViewCustomizer methods I need to override? (looking at afterCreateColumn)
How do I get and set the column values? (really lost here)
How do I get the column to display a Notes resource image (my stars) or do I need to store it in a directory on server?
How do I make the star icon clickable?
How do I capture that click event?
Using Domino v9.0.1
If you don't have to use a dynamic view panel here's a way of doing it that will work with a view panel, repeat, or data table...
Use a "favorites" document for each user. Have it contain one multi-value item to store the Note IDs of all the documents the user favorited.
When the user logs on read the contents of the multi-value field into a sessionScope variable. Then in your view column all you need to do is check if the NoteID of the current row is in your sessionScope variable and display the appropriate icon.
For the part when a user clicks on a star you would have an event handler on that column that does a lookup to the user's favorites document (create it if it doesn't exist) and add or remove the NoteID then do a partial refresh on the view.
You can probably still do this with a dynamic view panel but I can't speak to the particulars of it since I don't use it much.

CRM 2011 - Custom query for subform based on value entered in field on mainform

How can I filter a subform based on a value selected in a field on the main form. The mainform is a registration for an certain education. When the user selects the education, for which he wants to make a new registration, the subform must show all the sessions planned for this education.
Thx!
I do not believe filtering is supported out of the box by microsoft. The subgrids are pretty limited.
This article might help. The author has a method to build custom views with filters, simliar to the method of filtering lookups through script. It is an unsupported hack, but may be able to be adapted to your situation.
Another option off the top of my head would be to build a silverlight list-application or custom IFrame which would filter the list based on the selected option.

Sharepoint 2007 : How to disable TextBox

I am new to sharepoint 2007. I have a following requirement.
1) I would to create a custom list for employee where they can select the item and fill-out the form and submit.
Example : List --> Hard Disk --> Click --> Create new list -->
List has following fields 1) EmpID 2) Customer name (Text) , 3) Order Date, 4) Qty 5) Price
Once user submit the list then I would like to disable the EMPID field and allow same user to edit the other fields if required.
How can I disable the text field (Empid) in the Sharepoint 2007 ? I would appreciate any other alternate or better idea.
Thanks,
Regards
Vick
I would use jQuery for this purpose. Here is an example that describes how to hide a text field on a SharePoint form. Change the .hide() to .attr('disabled','disabled') and this will disable the text field.
If you need help with deploying jQuery, see this question.
I am not sure its a better idea or not, but for that i used to do for this common scenario
that
fist identify the textbox id in html source (through web browser view source) after that i wrote javascript function to disable textboxes i.e. EMPID or we can do through style sheet and apply style using javascript..
You can create multiple content types for the same list. Have the user fill out the content type that contains the EmpID field (put a link in the LeftNav that sends them to NewItem.aspx with the proper ContentTypeId). Make the default content type the one without the EmpID, so when they go back in and edit they won't see that EmpID field.
The downside to this is that they'll see both content types in the New button dropdown. You can name them in a way that makes sense (New Hard Disk Order, Edit Hard Disk Order)

Hide field in SharePoint alert email

How can I hide a field in a SharePoint alert?
I have a custom event list (Calendar). I have a field (of type Note - aka Multi-line text) whose XML contents I generate manually in an event receiver. All my calendar views use this field as the Title for the Month, Week, and Day views.
I have a web part I include on the page that runs a jquery script that converts the XML title into a background color and mouseover text.
The problem is that this field and its ugly xml show up in sharepoint alerts. If I set the field to Hidden=true then it does not show up in the email, but it is no longer available to select as the Title for the Month, Week, and Day views when creating a new View. This is not acceptable as users need to be able to create views and be able to select this field as the title.
Is there another way to prevent this field from showing up in emails, along the lines of ShowInDisplayForm, ShowInEditForm, etc?
Would editing the fields in the alert template fix your issue?
http://blogs.msdn.com/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
"To exclude some fields from being rendered in the email, you should include them in the <DigestNotificationExcludedFields> and <ImmediateNotificationExcludedFields> section."
Can you set another field to have that XML and have the jquery script run against that field instead? That would leave the Title field to be used normally.

Resources