Is it possible to automatically # a field on a Google Form? I would need the numbering to appear on the actual form and not just on the spreadsheet it ties to. The idea is so that someone could place an order, fill out the form, and give the automatically generated # to the vendor.
Please point me in the right direction if this is possible.
Thanks!
Have an item for this number and define it as required and select-from-a-list. Generate the number (somehow?) in the OnLoad trigger and populate this item. The number being the only one to select user has to select and send with the form. Bit crude solution, but workable I think.
Better option would be to make that item a section header and populate in onload trigger as above.
Available types of triggers indicates that there is no onLoad trigger within Google Forms API. However, I believe it is possible to use jQuery to search for '#' within the form and increment the value.
Related
Supppose I have two different business process flow for an entity, is it possible, from the onLoad event of the form, to change which flow is displayed ?
Should I try and modify the order in which the flows are shown depending on some conditions ? If that is even possible ?
Thanks
Yes. You want Xrm.Page.data.process.setActiveProcess(processId, callbackFunction)
See Xrm.Page.data.process for reference
I'm dealing with a form split into tabs in a RadMenu. I need to save the information entered on a tab when the user leaves it. I know there's an ItemClick event for RadMenu, but is there a way to capture the information on the previous tab with that event?
I'm using VB.NET, if it matters.
Are you certain that this is RadMenu and not RadTabStrip?
It would make more sense to be the tabstrip.
There is a nice demo that demonstrates this approach with tabstrip:
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/application-scenarios/wizard/defaultcs.aspx
I want to create a dynamic form in a Plone 4.3 site with PloneFormGen 1.7.15. Dynamic means that I want to disable an option, when a certain number of participants have chosen this option.
Is it possible the set the attribute "disabled" to a radio button? I have not found a way to do it manually.
I was looking at the article How can I generate a registration number in PloneFormGen, using a TALES Expression? which show how to implement a counter. But I have no idea, how to actually change the radio button, when the condition is met. Any hints on that?
I used http://plone.org/products/collective.signupsheet for the form. It has the functionality to limit the number of registrants for an event.
The solution I thought of when asking the question became obsolete.
Following the example as documented in the following http://symfony.com/doc/current/cookbook/form/dynamic_form_generation.html
This adds the fields in the event subscriber first, then adds the fields that have been added in the form type.
Does anybody know how to change the ordering around so that the form type fields appear first in the form view, then the fields added in the event subscriber appear after?
Thanks in advance
I had the same problem. I solved it by moving form building ($builder->add(...)) from MyFormType::buildForm() to listener leaving there only $builder->addEventSubscriber(...) statement.
There's two different manner to order your fields,
When building your form, you've to add fields according to the order
you went to display them, it allows you to get the right behavior
using form_widget(form).
Customize your form rendering. You can then put every part of
your form in the right position so that it looks the way you want.
I'm looking to have a table that can be added to by just typing into the last row and clicking on the "Add" button at the end of the row. All other rows in the table can be deleted by clicking on a button in their rightmost column.
My problem is that forms can't wrap only one row and validate as XHTML. If I make the form wrap the entire table, it'll include the rows which have a form as their last cell too. And forms within forms are definitely not valid.
Suggestions?
Thanks for clarifying the situation. The way I see it you have a few options here:
Are you using (can you use) JavaScript? If so, you can easily modify the submission URI based on which button was pressed. You can thus get rid of all forms except for table-wrapping one.
Alternatively, depending on your requirements, you may be able to replace your "delete" buttons with links (possibly styled like buttons) in which case you won't need forms to wrap them. Note that this approach does not require javascript UNLESS you need to handle a situation when someone begins to fill last row and then clicks on "delete" on some other row and you want to preserve incomplete changes made to last row inputs. In this case you'd still need to use javascript to submit the form so #1 above would probably be better.
Bite the bullet and submit to the same URI. Distinguish what button was pressed by button name. You can always redirect to appropriate URI at that point.
Make your peace with non-validating html :-)